diff options
| author | 2026-03-07 20:20:14 +0000 | |
|---|---|---|
| committer | 2026-03-21 23:36:53 +0000 | |
| commit | 03485bd0ac00c582e0dccb9187866420666a2f42 (patch) | |
| tree | 5c68d70c04404ee6c87530d99187fa14f9e32dcc /fish/functions | |
| parent | 171ffed14d6796513e972829a378d723137b517b (diff) | |
adicionado ashell, ajustes
Diffstat (limited to 'fish/functions')
| -rw-r--r-- | fish/functions/cp.fish | 3 | ||||
| -rw-r--r-- | fish/functions/eza.fish | 4 | ||||
| -rw-r--r-- | fish/functions/mv.fish | 3 | ||||
| -rw-r--r-- | fish/functions/rm.fish | 3 |
4 files changed, 11 insertions, 2 deletions
diff --git a/fish/functions/cp.fish b/fish/functions/cp.fish new file mode 100644 index 0000000..c1e199d --- /dev/null +++ b/fish/functions/cp.fish @@ -0,0 +1,3 @@ +function cp --description 'cp(1) mais seguro' + command cp --interactive $argv +end diff --git a/fish/functions/eza.fish b/fish/functions/eza.fish index e9a7395..5a8a0e6 100644 --- a/fish/functions/eza.fish +++ b/fish/functions/eza.fish @@ -1,8 +1,8 @@ function eza --wraps eza --description "A modern alternative to ls" - if ! command -q eza + if ! command --query eza echo "`eza` is not installed" exit end - command eza --group-directories-first --header --icons=always $argv + command eza --group-directories-first --header --icons=auto --color=auto $argv end diff --git a/fish/functions/mv.fish b/fish/functions/mv.fish new file mode 100644 index 0000000..ae46ed9 --- /dev/null +++ b/fish/functions/mv.fish @@ -0,0 +1,3 @@ +function mv --description 'mv(1) mais seguro' + command mv --interactive $argv +end diff --git a/fish/functions/rm.fish b/fish/functions/rm.fish new file mode 100644 index 0000000..c0dcc8c --- /dev/null +++ b/fish/functions/rm.fish @@ -0,0 +1,3 @@ +function rm --description 'rm(1) mais seguro' + command rm --interactive=once --verbose $argv +end |
