diff options
| -rw-r--r-- | zsh/zprofile | 29 | ||||
| -rw-r--r-- | zsh/zshenv | 26 | ||||
| -rw-r--r-- | zsh/zshrc | 3 |
3 files changed, 32 insertions, 26 deletions
diff --git a/zsh/zprofile b/zsh/zprofile index 34d71c1..4e208f6 100644 --- a/zsh/zprofile +++ b/zsh/zprofile | |||
| @@ -1,3 +1,32 @@ | |||
| 1 | # vim: filetype=zsh | 1 | # vim: filetype=zsh |
| 2 | 2 | ||
| 3 | [[ -d "${HISTFILE:h}" ]] || mkdir -p "${HISTFILE:h}" | 3 | [[ -d "${HISTFILE:h}" ]] || mkdir -p "${HISTFILE:h}" |
| 4 | |||
| 5 | path=( | ||
| 6 | $HOME/.cargo/bin | ||
| 7 | $HOME/.local/bin | ||
| 8 | $HOME/.local/texlive/bin/amd64-freebsd | ||
| 9 | $path | ||
| 10 | ) | ||
| 11 | |||
| 12 | export MANPATH="${MANPATH:-$(manpath)}:$NPM_PACKAGES/share/man:$HOME/.local/texlive/texmf-dist/man" | ||
| 13 | export INFOPATH="$INFOPATH:$HOME/.local/texlive/texmf-dist/info" | ||
| 14 | |||
| 15 | # Fix für include/lib Verzeichnisse | ||
| 16 | # Details: https://gcc.gnu.org/onlinedocs/cpp/Environment-Variables.html | ||
| 17 | export C_INCLUDE_PATH="/usr/local/include:$C_INCLUDE_PATH" | ||
| 18 | export CPLUS_INCLUDE_PATH="/usr/local/include:$CPLUS_INCLUDE_PATH" | ||
| 19 | export LIBRARY_PATH="/usr/local/lib:$LIBRARY_PATH" | ||
| 20 | |||
| 21 | # Fix Midnight Commander ESC Taste | ||
| 22 | # zusätzlich noch unter "F9 -> Optionen -> Konfiguration -> Escape Tastenmodus -> [x] Einzelner Tastendruck" aktivieren | ||
| 23 | export KEYBOARD_KEY_TIMEOUT_US=1000 | ||
| 24 | |||
| 25 | # Tmuxp | ||
| 26 | export TMUXP_CONFIGDIR="$XDG_CONFIG_HOME/tmuxp" | ||
| 27 | |||
| 28 | # Vit (Taskwarrior UI) | ||
| 29 | export VIT_DIR="$XDG_CONFIG_HOME/vit" | ||
| 30 | |||
| 31 | # music player daemon | ||
| 32 | export MPD_HOST=localhost | ||
| @@ -7,29 +7,3 @@ export HISTSIZE=10000 | |||
| 7 | export SAVEHIST=10000 | 7 | export SAVEHIST=10000 |
| 8 | export HISTFILE="$XDG_DATA_HOME/zsh/history" | 8 | export HISTFILE="$XDG_DATA_HOME/zsh/history" |
| 9 | 9 | ||
| 10 | HOME_LOCAL="$HOME/.local/bin" | ||
| 11 | HOME_CARGO="$HOME/.cargo/bin" | ||
| 12 | HOME_LATEX="$HOME/.local/texlive/bin/amd64-freebsd" | ||
| 13 | export PATH="$PATH:$HOME_LOCAL:$HOME_LATEX:$HOME_CARGO" | ||
| 14 | |||
| 15 | export MANPATH="${MANPATH-$(manpath)}:$NPM_PACKAGES/share/man:$HOME/.local/texlive/texmf-dist/man" | ||
| 16 | export INFOPATH="$INFOPATH:$HOME/.local/texlive/texmf-dist/info" | ||
| 17 | |||
| 18 | # Fix Midnight Commander ESC Taste | ||
| 19 | # zusätzlich noch unter "F9 -> Optionen -> Konfiguration -> Escape Tastenmodus -> [x] Einzelner Tastendruck" aktivieren | ||
| 20 | export KEYBOARD_KEY_TIMEOUT_US=1000 | ||
| 21 | |||
| 22 | # Tmuxp | ||
| 23 | export TMUXP_CONFIGDIR="$XDG_CONFIG_HOME/tmuxp" | ||
| 24 | |||
| 25 | # Vit (Taskwarrior UI) | ||
| 26 | export VIT_DIR="$XDG_CONFIG_HOME/vit" | ||
| 27 | |||
| 28 | # music player daemon | ||
| 29 | export MPD_HOST=localhost | ||
| 30 | |||
| 31 | # Fix für include/lib Verzeichnisse | ||
| 32 | # Details: https://gcc.gnu.org/onlinedocs/cpp/Environment-Variables.html | ||
| 33 | export C_INCLUDE_PATH="/usr/local/include:$C_INCLUDE_PATH" | ||
| 34 | export CPLUS_INCLUDE_PATH="/usr/local/include:$CPLUS_INCLUDE_PATH" | ||
| 35 | export LIBRARY_PATH="/usr/local/lib:$LIBRARY_PATH" | ||
| @@ -4,6 +4,9 @@ | |||
| 4 | setopt AUTO_PARAM_SLASH | 4 | setopt AUTO_PARAM_SLASH |
| 5 | unsetopt CASE_GLOB | 5 | unsetopt CASE_GLOB |
| 6 | setopt HIST_SAVE_NO_DUPS | 6 | setopt HIST_SAVE_NO_DUPS |
| 7 | setopt INC_APPEND_HISTORY | ||
| 8 | setopt SHARE_HISTORY | ||
| 9 | setopt HIST_IGNORE_ALL_DUPS | ||
| 7 | 10 | ||
| 8 | [[ ! -r /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]] || source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh | 11 | [[ ! -r /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]] || source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh |
| 9 | [[ ! -r /usr/local/share/zsh-autosuggestions/zsh-autosuggestions.zsh ]] || source /usr/local/share/zsh-autosuggestions/zsh-autosuggestions.zsh | 12 | [[ ! -r /usr/local/share/zsh-autosuggestions/zsh-autosuggestions.zsh ]] || source /usr/local/share/zsh-autosuggestions/zsh-autosuggestions.zsh |
