diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..742e93d --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +# Ignore cache files from ZSH +.zsh/cache +.zsh/.zsh_history diff --git a/.zsh/lib/aliases.zsh b/.zsh/lib/aliases.zsh index cca6881..37f5b06 100644 --- a/.zsh/lib/aliases.zsh +++ b/.zsh/lib/aliases.zsh @@ -1,3 +1,6 @@ alias ll='ls -la' alias lh='ls -lah' -alias ...='cd ../..' \ No newline at end of file +alias ...='cd ../..' +alias cft='rm -r ~/.cache/thumbnails/fail/' +alias find_renames='find /media/enbewe/smb/tvshows | grep -v -e "^/media/enbewe/smb/tvshows/[^/]\+/[0-9]\+x[0-9]\+" | grep -E "(mkv|avi)$"' + diff --git a/.zsh/lib/history.zsh b/.zsh/lib/history.zsh index d7ff39f..0eb153c 100644 --- a/.zsh/lib/history.zsh +++ b/.zsh/lib/history.zsh @@ -1,5 +1,5 @@ ## Command history configuration -HISTFILE=$HOME/.zsh_history +HISTFILE=~/.zsh/.zsh_history HISTSIZE=10000 SAVEHIST=10000 @@ -10,4 +10,4 @@ setopt hist_ignore_dups # ignore duplication command history list setopt hist_ignore_space setopt hist_verify setopt inc_append_history -setopt share_history # share command history data \ No newline at end of file +setopt share_history # share command history data