mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
refactor(functions): renamed fish functions
This commit is contained in:
parent
6e518d7ec9
commit
06361e36ec
4 changed files with 8 additions and 8 deletions
5
.config/fish/functions/add_paths.fish
Normal file
5
.config/fish/functions/add_paths.fish
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
function add_paths
|
||||
contains -- $argv $fish_user_paths
|
||||
or set --universal fish_user_paths $fish_user_paths $argv
|
||||
echo "Updated PATH: $PATH"
|
||||
end
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
function addpaths
|
||||
contains -- $argv $fish_user_paths
|
||||
or set --universal fish_user_paths $fish_user_paths $argv
|
||||
echo "Updated PATH: $PATH"
|
||||
end
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
function removepath
|
||||
function remove_path
|
||||
if set -l index (contains -i $argv[1] $PATH)
|
||||
set --erase --universal fish_user_paths[$index]
|
||||
echo "Updated PATH: $PATH"
|
||||
Loading…
Add table
Add a link
Reference in a new issue