fish: setup colors; update aliases

This commit is contained in:
Olexandr Smirnov 2025-07-26 17:11:42 +03:00
parent 2b86db67c3
commit 02b4623c31
No known key found for this signature in database
3 changed files with 41 additions and 8 deletions

View file

@ -1,8 +1,10 @@
function sortw -d "Wrapper around sort to save file after sorting"
function sortw -d "Wrapper around sort that saves file after sorting"
if test (count $argv) -eq 0
echo "No file provided"
return 1
else
sort
else if test (count $argv) -eq 1
command sort $argv[1] -o $argv[1]
else
echo "I don't know what to do, too many arguments"
return 2
end
end