aliased tree for ls

This commit is contained in:
Léana 江 2022-12-21 13:05:38 +01:00
parent 19c8b68025
commit df073af8a4
6 changed files with 18 additions and 3 deletions

0
.config/fish/functions/brew_update.fish Executable file → Normal file
View file

View file

@ -0,0 +1,3 @@
function la --wraps='ls -la --color | less -R'
tree -Cpha -L 1 $argv | less -R
end

View file

@ -0,0 +1,3 @@
function ls
tree -Cph -L 1 $argv | less -R
end

View file

@ -0,0 +1,3 @@
function reset_launchpad --wraps='defaults write com.apple.dock ResetLaunchPad -bool true; killall Dock' --description 'alias reset_launchpad=defaults write com.apple.dock ResetLaunchPad -bool true; killall Dock'
defaults write com.apple.dock ResetLaunchPad -bool true; killall Dock $argv;
end