diff --git a/zsh.d/20-bindkeys.zsh b/zsh.d/20-bindkeys.zsh index 87d5485..231e217 100644 --- a/zsh.d/20-bindkeys.zsh +++ b/zsh.d/20-bindkeys.zsh @@ -9,23 +9,15 @@ autoload -z edit-command-line zle -N edit-command-line bindkey "^X^E" edit-command-line -# Standard Linux -bindkey "^[[1;5C" forward-word -bindkey "^[[1;5D" backward-word - bindkey "^S" kill-line bindkey "^U" backward-kill-line - # Useful under iTerm bindkey "-e" -bindkey "\eOH" beginning-of-line -bindkey "\eOF" end-of-line bindkey "\e[1~" beginning-of-line bindkey "\e[4~" end-of-line bindkey "\e[3~" delete-char -bindkey "\eOA" history-search-backward -bindkey "\eOB" history-search-forward bindkey "\e[A" history-search-backward bindkey "\e[B" history-search-forward + # vim: set ts=4 sw=4 tw=0 ft=zsh : diff --git a/zsh.d/90-plugins.zsh b/zsh.d/90-plugins.zsh index 1b6be30..473240d 100644 --- a/zsh.d/90-plugins.zsh +++ b/zsh.d/90-plugins.zsh @@ -8,5 +8,5 @@ fi # thefuck whence thefuck > /dev/null && eval $(thefuck --alias) -#z +# z [ -f $LIBRARY/plugins/zsh-z/zsh-z.plugin.zsh ] && source $LIBRARY/plugins/zsh-z/zsh-z.plugin.zsh diff --git a/zsh.d/90-virtualenv.zsh.off b/zsh.d/90-virtualenv.zsh.off deleted file mode 100644 index e874c69..0000000 --- a/zsh.d/90-virtualenv.zsh.off +++ /dev/null @@ -1,29 +0,0 @@ -function venv { - - # export WORKON_HOME=$HOME/Src/virtualenvs - # export PROJECT_HOME=$HOME/Src/projects - if [ -z $WORKON_HOME ] || [ -z $PROJECT_HOME ]; then - echo "Please, set WORKON_HOME and PROJECT_HOME first." - echo "Better place to set them is 99-local.zsh" - return - fi - - [ -z $VIRTUALENV_SCRIPT ] && VIRTUALENV_SCRIPT=/usr/local/bin/virtualenvwrapper.sh - - [ -d $WORKON_HOME ] || mkdir -p $WORKON_HOME - [ -d $PROJECT_HOME ] || mkdir -p $PROJECT_HOME - - source $VIRTUALENV_SCRIPT - - if [ -z $1 ]; then - echo "virtualenv enabled." - echo "WORKON_HOME: $WORKON_HOME" - echo "PROJECT_HOME: $PROJECT_HOME" - echo - echo "Virtualenvs:" - lsvirtualenv -b - echo - else - workon $1 - fi -} diff --git a/zsh.d/Darwin/90-coreutils.zsh.off b/zsh.d/Darwin/90-coreutils.zsh.off deleted file mode 100644 index 8514404..0000000 --- a/zsh.d/Darwin/90-coreutils.zsh.off +++ /dev/null @@ -1,19 +0,0 @@ -# Core Utils -which gcp > /dev/null -if [ $? -eq 0 ]; then - if [ -f /etc/zsh/gdircolors ]; then - eval `gdircolors /etc/zsh/gdircolors` - else - eval `gdircolors` - fi - #alias ls='gls --color -F' # OSX ls is better (supports extended attributes) - alias ll='ls -l' - alias la='ls -a' - alias cp='gcp' - alias mv='gmv' - alias rm='grm' - alias du='gdu' - alias df='gdf -a' -fi - -# vim: set ts=4 sw=4 tw=0 ft=zsh :