aboutsummaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'zsh')
-rw-r--r--zsh/zprofile18
1 files changed, 12 insertions, 6 deletions
diff --git a/zsh/zprofile b/zsh/zprofile
index 6fca54f..b3872d7 100644
--- a/zsh/zprofile
+++ b/zsh/zprofile
@@ -6,6 +6,14 @@ add_path() {
6 [[ -d "$1" ]] && path=("$1" $path) 6 [[ -d "$1" ]] && path=("$1" $path)
7} 7}
8 8
9set_include_lib_path() {
10 # Fix für include/lib Verzeichnisse
11 # Details: https://gcc.gnu.org/onlinedocs/cpp/Environment-Variables.html
12 export C_INCLUDE_PATH="$1/include:$C_INCLUDE_PATH"
13 export CPLUS_INCLUDE_PATH="$1/include:$CPLUS_INCLUDE_PATH"
14 export LIBRARY_PATH="$1/lib:$LIBRARY_PATH"
15}
16
9add_path "$HOME/.cargo/bin" 17add_path "$HOME/.cargo/bin"
10add_path "$HOME/.local/bin" 18add_path "$HOME/.local/bin"
11 19
@@ -13,6 +21,8 @@ case "$OSTYPE" in
13 darwin*) 21 darwin*)
14 add_path "/opt/homebrew/bin" 22 add_path "/opt/homebrew/bin"
15 add_path "$HOME/.local/venv/nvim" 23 add_path "$HOME/.local/venv/nvim"
24
25 set_include_lib_path "/opt/homebrew"
16 ;; 26 ;;
17 freebsd*) 27 freebsd*)
18 texlive_prefix="$HOME/.local/texlive" 28 texlive_prefix="$HOME/.local/texlive"
@@ -23,15 +33,11 @@ case "$OSTYPE" in
23 export MANPATH="${MANPATH:-$(manpath)}:$texlive_prefix/texmf-dist/man" 33 export MANPATH="${MANPATH:-$(manpath)}:$texlive_prefix/texmf-dist/man"
24 export INFOPATH="${INFOPATH:+$INFOPATH:}$texlive_prefix/texmf-dist/info" 34 export INFOPATH="${INFOPATH:+$INFOPATH:}$texlive_prefix/texmf-dist/info"
25 fi 35 fi
36
37 set_include_lib_path "/usr/local"
26 ;; 38 ;;
27esac 39esac
28 40
29# Fix für include/lib Verzeichnisse
30# Details: https://gcc.gnu.org/onlinedocs/cpp/Environment-Variables.html
31export C_INCLUDE_PATH="/usr/local/include:$C_INCLUDE_PATH"
32export CPLUS_INCLUDE_PATH="/usr/local/include:$CPLUS_INCLUDE_PATH"
33export LIBRARY_PATH="/usr/local/lib:$LIBRARY_PATH"
34
35# Fix Midnight Commander ESC Taste 41# Fix Midnight Commander ESC Taste
36# zusätzlich noch unter "F9 -> Optionen -> Konfiguration -> Escape Tastenmodus -> [x] Einzelner Tastendruck" aktivieren 42# zusätzlich noch unter "F9 -> Optionen -> Konfiguration -> Escape Tastenmodus -> [x] Einzelner Tastendruck" aktivieren
37export KEYBOARD_KEY_TIMEOUT_US=1000 43export KEYBOARD_KEY_TIMEOUT_US=1000