File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ alias cp="cp -i"
1212alias rm=" rm -i" # prompt once
1313# alias rm="trash-put -v -- "
1414alias vi=" vim "
15+ alias vim=" nvim"
1516alias vzsh=" vim ~/.zshrc"
1617alias szsh=" source ~/.zshrc"
1718alias vvim=" vim ~/.vim/vimrc"
@@ -28,7 +29,7 @@ alias glog="git log --oneline --graph --all --abbrev"
2829alias truecolor=" curl -s https://raw.githubusercontent.com/JohnMorales/dotfiles/master/colors/24-bit-color.sh | bash"
2930
3031# Additional custome software command
31- alias ls=' exa '
32+ alias ls=' eza '
3233alias la=' ls -lah'
3334alias brightness=' sudo ddcutil setvcp 10 '
3435alias winproxy=" proxychains4 -f ~/.config/proxy/winproxy.conf "
Original file line number Diff line number Diff line change @@ -15,9 +15,7 @@ ZSH_THEME="agnoster"
1515HYPHEN_INSENSITIVE=" true"
1616
1717# 自动更新mode设置
18- # zstyle ':omz:update' mode disabled # disable automatic updates
19- # zstyle ':omz:update' mode auto # update automatically without asking
20- zstyle ' :omz:update' mode reminder # just remind me to update when it's time
18+ zstyle ' :omz:update' mode reminder
2119
2220# Uncomment the following line to change how often to auto-update (in days).
2321# zstyle ':omz:update' frequency 13
@@ -39,7 +37,7 @@ DISABLE_UNTRACKED_FILES_DIRTY="true"
3937
4038# 改变命令执行时间的显示格式
4139# 可选: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
42- # HIST_STAMPS="mm/dd/yyyy "
40+ HIST_STAMPS=" yyyy-mm-dd "
4341
4442# 自定义custom文件夹, 不修改则默认使用 $ZSH/custom
4543# ZSH_CUSTOM=/path/to/new-custom-folder
Original file line number Diff line number Diff line change 1+ # ---------------------------------------------------------------
2+ # 系统基础设置
3+ # ---------------------------------------------------------------
4+
5+ # You may need to manually set your language environment
6+ export LC_ALL=C.UTF-8
7+ export LANG=C.UTF-8
8+
9+ # Preferred editor for local and remote sessions
10+ if [[ -n $SSH_CONNECTION ]]; then
11+ export EDITOR=' vim'
12+ else
13+ export EDITOR=' vim'
14+ fi
15+
116# ---------------------------------------------------------------
217# Util
318# ---------------------------------------------------------------
3954
4055source $HOME /.config/zsh/zsh.zsh
4156
42- # ---------------------------------------------------------------
43- # 系统基础设置
44- # ---------------------------------------------------------------
45-
46- # You may need to manually set your language environment
47- export LANG=en_US.UTF-8
48-
49- # Preferred editor for local and remote sessions
50- if [[ -n $SSH_CONNECTION ]]; then
51- export EDITOR=' vim'
52- else
53- export EDITOR=' vim'
54- fi
5557
5658# ---------------------------------------------------------------
5759# 环境变量 PATH
@@ -85,5 +87,4 @@ source $HOME/.config/zsh/alias.zsh
8587source <( fzf --zsh)
8688
8789# 加载atuin
88- source ~ /.atuin/bin/env
8990eval " $( atuin init zsh) "
You can’t perform that action at this time.
0 commit comments