diff options
| author | Thomas Schmucker <ts@its1.de> | 2026-08-12 09:22:12 +0200 |
|---|---|---|
| committer | Thomas Schmucker <ts@its1.de> | 2026-08-12 09:22:12 +0200 |
| commit | 189d244d36d4ebb2189b698adb21f51cf1c4176a (patch) | |
| tree | 3a6a9847dafabea051997b1a9cbc124a242ec1d3 /zsh/zprofile | |
| parent | 6e5882a2fd02d30206ab9ca8aa5847b8ea09196c (diff) | |
| download | dotfiles-189d244d36d4ebb2189b698adb21f51cf1c4176a.tar.gz dotfiles-189d244d36d4ebb2189b698adb21f51cf1c4176a.tar.bz2 dotfiles-189d244d36d4ebb2189b698adb21f51cf1c4176a.zip | |
Revert "Normalize line endings"
This reverts commit 6e5882a2fd02d30206ab9ca8aa5847b8ea09196c.
Diffstat (limited to 'zsh/zprofile')
| -rw-r--r-- | zsh/zprofile | 130 |
1 files changed, 65 insertions, 65 deletions
diff --git a/zsh/zprofile b/zsh/zprofile index 3288e8d..7fed3a7 100644 --- a/zsh/zprofile +++ b/zsh/zprofile | |||
| @@ -1,65 +1,65 @@ | |||
| 1 | # vim: filetype=zsh | 1 | # vim: filetype=zsh |
| 2 | 2 | ||
| 3 | if [[ ! -d "${HISTFILE:h}" ]]; then | 3 | if [[ ! -d "${HISTFILE:h}" ]]; then |
| 4 | mkdir -p "${HISTFILE:h}" | 4 | mkdir -p "${HISTFILE:h}" |
| 5 | fi | 5 | fi |
| 6 | 6 | ||
| 7 | add_path() { | 7 | add_path() { |
| 8 | if [[ -d "$1" ]]; then | 8 | if [[ -d "$1" ]]; then |
| 9 | path=("$1" $path) | 9 | path=("$1" $path) |
| 10 | fi | 10 | fi |
| 11 | } | 11 | } |
| 12 | 12 | ||
| 13 | set_include_lib_path() { | 13 | set_include_lib_path() { |
| 14 | # Fix für include/lib Verzeichnisse | 14 | # Fix für include/lib Verzeichnisse |
| 15 | # Details: https://gcc.gnu.org/onlinedocs/cpp/Environment-Variables.html | 15 | # Details: https://gcc.gnu.org/onlinedocs/cpp/Environment-Variables.html |
| 16 | export C_INCLUDE_PATH="$1/include:$C_INCLUDE_PATH" | 16 | export C_INCLUDE_PATH="$1/include:$C_INCLUDE_PATH" |
| 17 | export CPLUS_INCLUDE_PATH="$1/include:$CPLUS_INCLUDE_PATH" | 17 | export CPLUS_INCLUDE_PATH="$1/include:$CPLUS_INCLUDE_PATH" |
| 18 | export LIBRARY_PATH="$1/lib:$LIBRARY_PATH" | 18 | export LIBRARY_PATH="$1/lib:$LIBRARY_PATH" |
| 19 | } | 19 | } |
| 20 | 20 | ||
| 21 | add_path "$HOME/.cargo/bin" | 21 | add_path "$HOME/.cargo/bin" |
| 22 | add_path "$HOME/.local/bin" | 22 | add_path "$HOME/.local/bin" |
| 23 | 23 | ||
| 24 | case "$OSTYPE" in | 24 | case "$OSTYPE" in |
| 25 | darwin*) | 25 | darwin*) |
| 26 | add_path "/opt/homebrew/bin" | 26 | add_path "/opt/homebrew/bin" |
| 27 | 27 | ||
| 28 | set_include_lib_path "/opt/homebrew" | 28 | set_include_lib_path "/opt/homebrew" |
| 29 | ;; | 29 | ;; |
| 30 | freebsd*) | 30 | freebsd*) |
| 31 | texlive_prefix="$HOME/.local/texlive" | 31 | texlive_prefix="$HOME/.local/texlive" |
| 32 | 32 | ||
| 33 | if [[ -d "$texlive_prefix/bin/amd64-freebsd" ]]; then | 33 | if [[ -d "$texlive_prefix/bin/amd64-freebsd" ]]; then |
| 34 | add_path "$texlive_prefix/bin/amd64-freebsd" | 34 | add_path "$texlive_prefix/bin/amd64-freebsd" |
| 35 | 35 | ||
| 36 | export MANPATH="${MANPATH:-$(manpath)}:$texlive_prefix/texmf-dist/man" | 36 | export MANPATH="${MANPATH:-$(manpath)}:$texlive_prefix/texmf-dist/man" |
| 37 | export INFOPATH="${INFOPATH:+$INFOPATH:}$texlive_prefix/texmf-dist/info" | 37 | export INFOPATH="${INFOPATH:+$INFOPATH:}$texlive_prefix/texmf-dist/info" |
| 38 | fi | 38 | fi |
| 39 | 39 | ||
| 40 | set_include_lib_path "/usr/local" | 40 | set_include_lib_path "/usr/local" |
| 41 | ;; | 41 | ;; |
| 42 | esac | 42 | esac |
| 43 | 43 | ||
| 44 | # Fix Midnight Commander ESC Taste | 44 | # Fix Midnight Commander ESC Taste |
| 45 | # zusätzlich noch unter "F9 -> Optionen -> Konfiguration -> Escape Tastenmodus -> [x] Einzelner Tastendruck" aktivieren | 45 | # zusätzlich noch unter "F9 -> Optionen -> Konfiguration -> Escape Tastenmodus -> [x] Einzelner Tastendruck" aktivieren |
| 46 | export KEYBOARD_KEY_TIMEOUT_US=1000 | 46 | export KEYBOARD_KEY_TIMEOUT_US=1000 |
| 47 | 47 | ||
| 48 | # Tmuxp | 48 | # Tmuxp |
| 49 | # https://tmuxp.git-pull.com/configuration/environmental-variables.html | 49 | # https://tmuxp.git-pull.com/configuration/environmental-variables.html |
| 50 | export TMUXP_CONFIGDIR="$XDG_CONFIG_HOME/tmuxp" | 50 | export TMUXP_CONFIGDIR="$XDG_CONFIG_HOME/tmuxp" |
| 51 | 51 | ||
| 52 | # Vit (Taskwarrior UI) | 52 | # Vit (Taskwarrior UI) |
| 53 | # https://github.com/vit-project/vit/blob/2.x/CUSTOMIZE.md | 53 | # https://github.com/vit-project/vit/blob/2.x/CUSTOMIZE.md |
| 54 | export VIT_DIR="$XDG_CONFIG_HOME/vit" | 54 | export VIT_DIR="$XDG_CONFIG_HOME/vit" |
| 55 | 55 | ||
| 56 | # Maildir für mu (mail-utils) | 56 | # Maildir für mu (mail-utils) |
| 57 | export MAILDIR="$HOME/Mail" | 57 | export MAILDIR="$HOME/Mail" |
| 58 | 58 | ||
| 59 | # mpd starten | 59 | # mpd starten |
| 60 | if [[ -x /usr/local/bin/musicpd ]] && ! pgrep "musicpd" > /dev/null; then | 60 | if [[ -x /usr/local/bin/musicpd ]] && ! pgrep "musicpd" > /dev/null; then |
| 61 | /usr/local/bin/musicpd | 61 | /usr/local/bin/musicpd |
| 62 | fi | 62 | fi |
| 63 | 63 | ||
| 64 | unfunction add_path | 64 | unfunction add_path |
| 65 | unfunction set_include_lib_path | 65 | unfunction set_include_lib_path |
