Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

add alias fish shell

# Define alias in shell
alias rmi "rm -i"

# Define alias in config file
alias rmi="rm -i"

# This is equivalent to entering the following function:
function rmi
    rm -i $argv
end

# Then, to save it across terminal sessions:
funcsave rmi
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #add #alias #fish #shell
ADD COMMENT
Topic
Name
9+9 =