diff options
Diffstat (limited to 'nixos/config/zshrc')
-rw-r--r-- | nixos/config/zshrc | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/nixos/config/zshrc b/nixos/config/zshrc new file mode 100644 index 0000000..7c2e8cb --- /dev/null +++ b/nixos/config/zshrc @@ -0,0 +1,34 @@ +autoload -U compinit +compinit + +setopt COMPLETE_IN_WORD + +eval "$(starship init zsh)" + +#source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh +#source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh + +DISABLE_AUTO_TITLE="true" + +function set_terminal_title() { + echo -en "\e]2;$@\a" +} + +HISTFILE=~/.zsh_history +HISTSIZE=10000 +SAVEHIST=10000 +setopt appendhistory +setopt SHARE_HISTORY + +bindkey "^[[H" beginning-of-line +bindkey "^[[F" end-of-line +bindkey "^[[3~" delete-char + +alias l=eza +alias ls="eza -T" + +alias vim=nvim + +export path=($HOME/.local/bin $path) + +[ -f "/home/venomade/.ghcup/env" ] && source "/home/venomade/.ghcup/env" # ghcup-env |