Horje
create fish alias Code Example
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
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'




Shell

Related
grep files modified since yesterday Code Example grep files modified since yesterday Code Example
ide features Code Example ide features Code Example
bash leerzeichen entfernen Code Example bash leerzeichen entfernen Code Example
bash read username and password Code Example bash read username and password Code Example
how to add passphrase to ssh key Code Example how to add passphrase to ssh key Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10