Adding zsh history and custom user dirs

This commit is contained in:
Siina Mashek 2024-02-05 18:53:51 +02:00
parent 3ee310ac1e
commit b2b88ff9a1
3 changed files with 14 additions and 1 deletions

8
config/user-dirs.dirs Normal file
View File

@ -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"

View File

@ -37,7 +37,8 @@ fi
alias ccat="highlight -O ansi $@"
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 wget="wget --hsts-file $HOME/.cache/wget/hsts"
alias woodpecker="$HOME/.local/bin/woodpecker --log-level=''"

4
zshrc
View File

@ -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
fpath=("$HOME/.config/zsh/zprompts" "$fpath[@]")