2020-09-14 10:18:35 +02:00
|
|
|
# Variables
|
|
|
|
export EDITOR=/usr/bin/vim
|
|
|
|
export BROWSER=/usr/bin/firefox
|
|
|
|
|
|
|
|
# Aliases
|
|
|
|
alias ls='ls --color=auto'
|
|
|
|
|
|
|
|
# Colors
|
2020-09-14 11:04:00 +02:00
|
|
|
eval `dircolors $HOME/.dir_colors`
|
2020-09-14 10:18:35 +02:00
|
|
|
|
|
|
|
# Prompt
|
|
|
|
autoload -U colors zsh/terminfo
|
|
|
|
colors
|
|
|
|
|
|
|
|
zstyle ':vcs_info:git:*' formats "(%{$fg[yellow]%}%b%{$reset_color%})"
|
|
|
|
zstyle ':prompt:grml:left:items:user' pre "%{$fg[blue]%}"
|
|
|
|
zstyle ':prompt:grml:left:items:user' post "%{$reset_color%}"
|
|
|
|
zstyle ':prompt:grml:left:items:host' pre "%{$fg[green]%}"
|
|
|
|
zstyle ':prompt:grml:left:items:host' post "%{$reset_color%}:"
|
|
|
|
zstyle ':prompt:grml:left:items:path' pre "%{$fg[magenta]%}"
|
|
|
|
zstyle ':prompt:grml:left:items:path' post "%{$reset_color%}"
|
|
|
|
zstyle ':prompt:grml:left:items:host' token '%m'
|
|
|
|
zstyle ':prompt:grml:left:items:path' token '%20<..<%~%<<'
|
|
|
|
zstyle ':prompt:grml:left:items:percent' token '%(!.#.>) '
|
|
|
|
zstyle ':prompt:grml:right:items:sad-smiley' token ''
|
|
|
|
|
|
|
|
# Scripts
|
2020-09-14 11:04:00 +02:00
|
|
|
export PATH="$HOME/.local/bin:$PATH"
|
2020-09-14 10:18:35 +02:00
|
|
|
|
|
|
|
|
|
|
|
# Completions
|
|
|
|
if [ -e "/usr/share/fzf/key-bindings.zsh" ]
|
|
|
|
then
|
|
|
|
. /usr/share/fzf/key-bindings.zsh
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ -e "/usr/share/fzf/completion.zsh" ]
|
|
|
|
then
|
|
|
|
. /usr/share/fzf/completion.zsh
|
|
|
|
fi
|
|
|
|
|
2020-09-19 00:47:47 +02:00
|
|
|
eval `keychain --quiet --agents ssh --eval`
|
2020-09-14 10:18:35 +02:00
|
|
|
|
|
|
|
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
|
2020-09-14 11:04:00 +02:00
|
|
|
export SDKMAN_DIR="$HOME/.sdkman"
|
|
|
|
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"
|