Skip to content

Instantly share code, notes, and snippets.

@Foucl
Last active May 9, 2016 19:28
Show Gist options
  • Select an option

  • Save Foucl/c8987eb8f2848e269aa2f6a2cbd0ccf9 to your computer and use it in GitHub Desktop.

Select an option

Save Foucl/c8987eb8f2848e269aa2f6a2cbd0ccf9 to your computer and use it in GitHub Desktop.
Labor-PCs
  • Bash kann nicht innerhalb eines Repositories sein
  • Also muss alles spezielle raus aus /etc

etwas in der Art:

#/etc/profile
# Set up USER's home directory
BASHDIR="$(cd / && pwd -W)"
export BASHDIR
HOME="$(dirname "${BASHDIR}")"
HOME="$(cygpath "$HOME")"
export HOME
cd "$HOME"
#/etc/profile.d/???
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment