mirror of
https://github.com/kremalicious/dotfiles.git
synced 2024-11-21 17:27:13 +01:00
more aliases
This commit is contained in:
parent
bcbf3d5998
commit
e82334f99a
12
aliases
12
aliases
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user