mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-07 07:09:15 +00:00
ref(nix): drop fish legacy support
This commit is contained in:
parent
074e78751a
commit
1bec5057c7
21 changed files with 2 additions and 2 deletions
8
nix/home/common/fish/functions/file_mantissa.fish
Normal file
8
nix/home/common/fish/functions/file_mantissa.fish
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
function file_mantissa --description 'Obtain file name without extension'
|
||||
if count $argv >/dev/null
|
||||
echo (basename $argv) | sed 's/\.[^.]*$//'
|
||||
else
|
||||
echo "Please supply a path"
|
||||
return 1
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue