AutoYADM commit: 2025-04-01 19:55:17
This commit is contained in:
parent
93207df70b
commit
78fa6ca8ad
4 changed files with 11 additions and 2 deletions
|
@ -1,3 +1,3 @@
|
|||
function copyfile
|
||||
function copyf
|
||||
cat $argv | wl-copy
|
||||
end
|
|
@ -1,3 +1,3 @@
|
|||
function copypath
|
||||
function copyp
|
||||
path resolve $argv | wl-copy
|
||||
end
|
6
.config/fish/functions/funcrename.fish
Normal file
6
.config/fish/functions/funcrename.fish
Normal file
|
@ -0,0 +1,6 @@
|
|||
function funcrename --wraps=funced --description 'Renames a user function'
|
||||
functions --copy $argv[1] $argv[2]
|
||||
functions --erase $argv[1]
|
||||
funcsave $argv[2]
|
||||
rm $fish_function_path[1]/$argv[1].fish
|
||||
end
|
3
.config/fish/functions/othername.fish
Normal file
3
.config/fish/functions/othername.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
function othername
|
||||
echo Hello
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue