mv: fish functions
This commit is contained in:
6
modules/terminal/fish-functions/runl.fish
Normal file
6
modules/terminal/fish-functions/runl.fish
Normal file
@@ -0,0 +1,6 @@
|
||||
if test -n "$argv[2]"
|
||||
echo (cat -- "$argv[1]" | sed -n $argv[2]p)
|
||||
fish -c (cat -- "$argv[1]" | sed -n $argv[2]p)
|
||||
else
|
||||
cat -n -- "$argv[1]"
|
||||
end
|
||||
Reference in New Issue
Block a user