add bash config

This commit is contained in:
FlintyLemming
2025-12-17 17:15:04 +08:00
parent b60e605a5f
commit 342cbb08cf
2 changed files with 16 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
## 替换 ls 默认行为
function ls --description 'alias ls to eza if possible'
if type -q eza
eza -la --icons $argv
@@ -6,6 +7,7 @@ function ls --description 'alias ls to eza if possible'
end
end
## 更新配置
function dotu
set -l current_dir (pwd)