about summary refs log tree commit diff
path: root/nixos/config/zshrc
blob: 7c2e8cb5f2a16f7adccabfcae8e53bfa3c1a1dbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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