123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139 |
- source ~/.zshrc.local
- export PATH=$PATH:$HOME/bin
- export PATH=$PATH:$HOME/.local/bin
- if [ -h ~/.antigen.zsh ]
- then
- save_aliases=$(alias -L)
- source ~/.antigen.zsh
-
- antigen use oh-my-zsh
-
- antigen bundle git
- antigen bundle heroku
- antigen bundle pip
- antigen bundle lein
- antigen bundle command-not-found
-
- antigen bundle zsh-users/zsh-syntax-highlighting
- antigen bundle zsh-users/zsh-autosuggestions
-
- antigen theme bureau
-
- antigen apply
- unalias -m '*'
- eval $save_aliases; unset save_aliases
- fi
- bindkey '^ ' autosuggest-accept
- HISTFILE=~/.histfile
- HISTSIZE=10000
- SAVEHIST=10000
- setopt -o sharehistory
- setopt HIST_IGNORE_DUPS
- setopt HIST_IGNORE_ALL_DUPS
- setopt appendhistory autocd extendedglob nomatch
- WORDCHARS='*?_-.[]~=&;!#$%^(){}<>'
- alias l='\ls --color=auto'
- alias ls='ls --color=auto'
- alias la='ls -a --color=auto'
- alias lsa='ls -a --color=auto'
- alias lls='ls -lh --color=auto'
- alias ll='ls -lh --color=auto'
- eval $(dircolors ~/.dircolors)
- export EDITOR="emacsclient -t"
- export VISUAL="emacsclient -c -a emacs"
- if hash fuck 2>/dev/null; then
- eval $(thefuck --alias)
- fi
- bindkey "^[OH" beginning-of-line
- bindkey "^[[H" beginning-of-line
- bindkey "^[OF" end-of-line
- bindkey "^[[F" end-of-line
- bindkey "^s" history-incremental-search-forward
- bindkey ";5C" forward-word
- bindkey ";5D" backward-word
- function cd {
- builtin cd "$@" && ls -F
- }
- function sl_func() {
-
-
- LEN=$(ls "$@" |wc -L)
- ls "$@" | rev | while read -r line
- do
- printf "%${LEN}.${LEN}s\\n" "$line" | sed 's/^\(\s\+\)\(\S\+\)/\2\1/'
- done
- }
- alias sl=sl_func
|