Last active
March 8, 2023 07:53
-
-
Save SvenZhao/fc2e492c1a0c4a3fc2a0f4f8427a5cd9 to your computer and use it in GitHub Desktop.
linux设置
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
prefix=/Users/sven/.npm_global | |
registry=http://registry.npm.alibaba-inc.com/ | |
init-author-name=赵斌 | |
lockfile=false | |
shamefully-hoist=true | |
auto-install-peers=true | |
strict-peer-dependencies=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unbind ^b | |
set -g prefix 'm-`' | |
#set -g prefix 'c-a' | |
set -g mouse on | |
setw -g mode-keys vi | |
bind '"' split-window -c '#{pane_current_path}' | |
bind '%' split-window -h -c '#{pane_current_path}' | |
set-option -g escape-time 50 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export ZSH="/Users/sven/.oh-my-zsh" | |
ZSH_THEME="robbyrussell" | |
plugins=(git zsh-syntax-highlighting zsh-autosuggestions) | |
source $ZSH/oh-my-zsh.sh | |
# alias | |
alias n="tnpm run" | |
alias rmdir='rm -rf' | |
alias defd='def p -d' | |
alias defp='def p -o' | |
alias vim='nvim' | |
alias vi='nvim' | |
eval "$(zoxide init zsh)" | |
eval "$(fnm env --use-on-cd --node-dist-mirror=https://npmmirror.com/mirrors/node)" | |
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment