Browse Source

Update zsh alias

ubuntu_ci
Ein Verne 3 years ago
parent
commit
2d312f2582
  1. 5
      .vim/startup/vundle_vimrc
  2. 16
      .zshrc
  3. 2
      git/global.gitconfig
  4. 4
      git/work.gitconfig
  5. 2
      tmux/.tmux.conf
  6. 4
      zsh/alias.zsh

5
.vim/startup/vundle_vimrc

@ -242,6 +242,8 @@ let g:NERDTreePatternMatchHighlightColor['.*_spec\.rb$'] = s:rspec_red " sets th
let g:WebDevIconsDefaultFolderSymbolColor = s:beige " sets the color for folders that did not match any rule
let g:WebDevIconsDefaultFileSymbolColor = s:blue " sets the color for files that did not match any rule
let g:snipMate = {'snippet_version': 1}
" beancount
filetype plugin on
set omnifunc=syntaxcomplete#Complete
@ -251,3 +253,6 @@ let g:beancount_detailed_first = 1
autocmd FileType bean inoremap . .<c-o>:AlignCommodity<cr>
autocmd FileType bean inoremap <Tab> <c-x><c-o>
let b:beancount_root = '~/Sync/beancount/main.bean'

16
.zshrc

@ -85,7 +85,7 @@ if [ -d "$HOME/.asdf" ]; then
# zinit light asdf-vm/asdf
# OR
load_asdf() {
source $HOME/.asdf/asdf.sh
. $HOME/.asdf/asdf.sh
}
zinit light-mode wait lucid for \
@ -127,12 +127,12 @@ if type brew &>/dev/null; then
fi
fpath=(${ASDF_DIR}/completions $fpath)
autoload -Uz compinit
if [ $(date +'%j') != $(stat -f '%Sm' -t '%j' ~/.zcompdump) ]; then
compinit;
else
compinit -C;
fi
kitty + complete setup zsh | source /dev/stdin
# if [ $(date +'%j') != $(stat -f '%Sm' -t '%j' ~/.zcompdump) ]; then
# compinit;
# else
# compinit -C;
# fi
# kitty + complete setup zsh | source /dev/stdin
# Load the theme.
# zinit theme agnoster
@ -208,3 +208,5 @@ alias adbcap="adb shell screencap -p"
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh

2
git/global.gitconfig

@ -1,7 +1,7 @@
[user]
email = [email protected]
name = Ein Verne
signingkey = 926634D64ACAD792
signingkey = EA6859610FD61EEACDFA27CCF80B65F734D9DD7D
[push]
default = matching
#[http]

4
git/work.gitconfig

@ -1,3 +1,3 @@
[user]
name = Ein Verne
email = [email protected]
name = wuijawei
email = [email protected]

2
tmux/.tmux.conf

@ -1,6 +1,6 @@
# https://github.com/gpakosz/.tmux
# ---- general ----------------------------------------------------
set -g default-terminal "screen-256color" # colors!
set -g default-terminal "xterm-256color" # colors!
setw -g xterm-keys on
set -s escape-time 10 # faster command sequences
set -sg repeat-time 600 # increase repeat timeout

4
zsh/alias.zsh

@ -1,8 +1,8 @@
# https://sw.kovidgoyal.net/kitty/faq.html#i-get-errors-about-the-terminal-being-unknown-or-opening-the-terminal-failing-when-sshing-into-a-different-computer
alias ssh="kitty +kitten ssh"
#alias ssh="kitty +kitten ssh"
alias tmux="TERM=screen-256color tmux -2"
alias vi="vim"
alias ls="exa"
#alias ls="exa"
alias cd="z"
alias mux="TERM=screen-256color tmuxinator"
#alias ls="ls -alh"

Loading…
Cancel
Save