summaryrefslogtreecommitdiffstats
path: root/zsh/.zshrc
diff options
context:
space:
mode:
authorAmin Bandali <amin@aminb.org>2018-04-29 23:43:16 -0400
committerAmin Bandali <amin@aminb.org>2018-04-29 23:43:16 -0400
commitb1f6f894370d4488babc172b89b9d59ddea945b4 (patch)
tree96aa2f1d74ee69f5a24b1e982151829a61c826fc /zsh/.zshrc
parent2e877d14b877fd7caefcf9ea675f45ce57abe6cd (diff)
downloadconfigs-b1f6f894370d4488babc172b89b9d59ddea945b4.tar.gz
configs-b1f6f894370d4488babc172b89b9d59ddea945b4.tar.xz
configs-b1f6f894370d4488babc172b89b9d59ddea945b4.zip
[rc/zsh] migrate my zsh setup to rc.org
Diffstat (limited to '')
-rw-r--r--zsh/.zshrc72
1 files changed, 0 insertions, 72 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
deleted file mode 100644
index 5d00ab0..0000000
--- a/zsh/.zshrc
+++ /dev/null
@@ -1,72 +0,0 @@
-# Bash-like navigation
-#export WORDCHARS='*?_-.[]~=&;!#$%^(){}<>'
-#export WORDCHARS='*?-[]~=&;!#$%^(){}<>'
-export WORDCHARS='*?[]~=&;!#$%^(){}<>'
-#ZLE_SPACE_SUFFIX_CHARS=$'|&'
-
-#disable -r time # disable shell reserved word
-#alias time='time -p' # -p for POSIX output
-
-# rehash if last command was pacaur or pacman
-# (so that zsh picks up changes in $PATH immediately)
-TRAPUSR1() { rehash}; precmd() { [[ $history[$[ HISTCMD -1 ]] == *(pacaur|pacman)* ]] && killall -USR1 zsh }
-
-#
-# User configuration sourced by interactive shells
-#
-
-# Change default zim location
-export ZIM_HOME=${ZDOTDIR:-${HOME}}/.zim
-
-# Start zim
-[[ -s ${ZIM_HOME}/init.zsh ]] && source ${ZIM_HOME}/init.zsh
-
-ZSH_HIGHLIGHT_PATTERNS+=('rm -rf *' 'fg=white,bold,bg=red')
-#ZSH_HIGHLIGHT_STYLES[unknown-token]='fg=red,bold'
-
-setopt globdots
-
-source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
-source ~/.zsh/zsh-autopair/autopair.zsh
-
-
-### fzf ###
-
-source /usr/share/fzf/key-bindings.zsh
-source /usr/share/fzf/completion.zsh
-
-# Accept history selection instead of putting it on
-# the command line
-fzf-history-widget-accept() {
- fzf-history-widget
- zle accept-line
-}
-#zle -N fzf-history-widget-accept
-#bindkey '^R' fzf-history-widget-accept
-
-# alt+c preview
-export FZF_ALT_C_OPTS="--preview 'tree -C {} | head -200'"
-
-### fzf ###
-
-
-# aliases
-alias mpv="mpv --ytdl-format mp4"
-alias mv="mv -iv"
-alias cp="cp -iv"
-alias scl=systemctl
-alias jcl=journalctl
-alias m="mbsync -Va; getmail; notmuch new"
-alias best="youtube-dl -f best"
-alias ace="mosh amin@ace.aminb.org"
-alias nix="ssh amin@aminb.org"
-
-aur() {
- cd ~/usr/build
- git clone https://aur.archlinux.org/${1}.git
- cd ${1}
-}
-
-# i-beam cursor
-echo -e "\033[5 q"
-#echo -e "\033[6 q"