mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-07 07:09:15 +00:00
fix(nix): fish functions are wrapped in two layers
This commit is contained in:
parent
710441a578
commit
0b1cd71f58
17 changed files with 245 additions and 300 deletions
|
|
@ -1,8 +1,6 @@
|
|||
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
|
||||
if count $argv >/dev/null
|
||||
echo (basename $argv) | sed 's/\.[^.]*$//'
|
||||
else
|
||||
echo "Please supply a path"
|
||||
return 1
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue