Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

create fish alias

alias rmi="rm -i"

# This is equivalent to entering the following function:
function rmi --wraps rm --description 'alias rmi=rm -i'
    rm -i $argv
end

# This needs to have the spaces escaped or "Chrome.app..."
# will be seen as an argument to "/Applications/Google":
alias chrome='/Applications/Google Chrome.app/Contents/MacOS/Google Chrome banana'
Source by fishshell.com #
 
PREVIOUS NEXT
Tagged: #create #fish #alias
ADD COMMENT
Topic
Name
5+4 =