更新 fish 配置,添加 ls、ll 和 la 的命令缩写以支持 eza 和 exa
This commit is contained in:
@@ -3,8 +3,12 @@ if status is-interactive
|
||||
# ls:优先 eza,其次 exa
|
||||
if type -q eza
|
||||
abbr ls eza
|
||||
abbr ll eza -l
|
||||
abbr la eza -a
|
||||
else if type -q exa
|
||||
abbr ls exa
|
||||
abbr ll exa -l
|
||||
abbr la exa -a
|
||||
end
|
||||
|
||||
type -q bat; and abbr cat bat
|
||||
|
||||
Reference in New Issue
Block a user