1
0
mirror of https://github.com/kremalicious/dotfiles.git synced 2024-11-21 17:27:13 +01:00

more aliases

This commit is contained in:
Matthias Kretschmann 2015-01-13 16:26:46 +01:00
parent bcbf3d5998
commit e82334f99a

12
aliases
View File

@ -4,12 +4,24 @@
alias ll='ls -la'
# Easier navigation: .., ..., ~
alias ..="cd .."
alias ...="cd ../.."
alias ~="cd ~"
# Get into some servers FAST. Server, user & port are in .ssh/config
alias krlc='ssh kremalicious'
# Update All The Things
alias update='update-everything.sh'
# IP addresses
alias ip="dig +short myip.opendns.com @resolver1.opendns.com"
alias localip="ipconfig getifaddr en1"
# Copy public key to pasteboard
alias pubkey="more ~/.ssh/id_rsa.pub | pbcopy | printf '=> Public key copied to pasteboard.\n'"
# Recursively delete `.DS_Store` files
alias cleanup="find . -type f -name '*.DS_Store' -ls -delete"