From ed7d1e8ead20bff883c04ebc4464404879ce2123 Mon Sep 17 00:00:00 2001 From: Nis Wechselberg Date: Thu, 24 Apr 2014 00:13:25 +0200 Subject: [PATCH] =?UTF-8?q?Gitignore=20hinzugef=C3=BCgt,=20alises=20und=20?= =?UTF-8?q?history=20angepasst?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 +++ .zsh/lib/aliases.zsh | 5 ++++- .zsh/lib/history.zsh | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 .gitignore 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