Adding zsh history and custom user dirs
This commit is contained in:
parent
3ee310ac1e
commit
b2b88ff9a1
|
@ -0,0 +1,8 @@
|
||||||
|
XDG_DESKTOP_DIR="$HOME/Desktop"
|
||||||
|
XDG_DOCUMENTS_DIR="$HOME/Nextcloud/Documents"
|
||||||
|
XDG_DOWNLOAD_DIR="$HOME/Downloads"
|
||||||
|
XDG_MUSIC_DIR="$HOME/Music"
|
||||||
|
XDG_PICTURES_DIR="$HOME/Nextcloud/Pictures"
|
||||||
|
XDG_PUBLICSHARE_DIR="$HOME/Nextcloud/Public"
|
||||||
|
XDG_TEMPLATES_DIR="$HOME/Templates"
|
||||||
|
XDG_VIDEOS_DIR="$HOME/Videos"
|
3
profile
3
profile
|
@ -37,7 +37,8 @@ fi
|
||||||
|
|
||||||
alias ccat="highlight -O ansi $@"
|
alias ccat="highlight -O ansi $@"
|
||||||
alias ls="ls -h --color=auto"
|
alias ls="ls -h --color=auto"
|
||||||
alias myip="curl https://ifconfig.co"
|
alias myip6="curl https://ifconfig.co"
|
||||||
|
alias myip4="curl -4 https://ifconfig.co"
|
||||||
alias vim="nvim $@"
|
alias vim="nvim $@"
|
||||||
alias wget="wget --hsts-file $HOME/.cache/wget/hsts"
|
alias wget="wget --hsts-file $HOME/.cache/wget/hsts"
|
||||||
alias woodpecker="$HOME/.local/bin/woodpecker --log-level=''"
|
alias woodpecker="$HOME/.local/bin/woodpecker --log-level=''"
|
||||||
|
|
4
zshrc
4
zshrc
|
@ -1,3 +1,7 @@
|
||||||
|
export HISTFILE="$HOME/.cache/zsh/history"
|
||||||
|
export HISTSIZE=10000
|
||||||
|
export SAVEHIST=10000
|
||||||
|
|
||||||
# Add our zprompts to fpath to use bunni theme
|
# Add our zprompts to fpath to use bunni theme
|
||||||
fpath=("$HOME/.config/zsh/zprompts" "$fpath[@]")
|
fpath=("$HOME/.config/zsh/zprompts" "$fpath[@]")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue