Skip to content

Instantly share code, notes, and snippets.

@njames
Last active March 10, 2024 04:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save njames/b6c91c5e8f87c3611b1f1215a7647eb7 to your computer and use it in GitHub Desktop.
Save njames/b6c91c5e8f87c3611b1f1215a7647eb7 to your computer and use it in GitHub Desktop.
.bash_aliases
# This is a small set of aliases on servers I ssh into for cli navigation
# up & down map to history search once a command has been started.
bind '"\e[A":history-search-backward'
bind '"\e[B":history-search-forward'
alias e="echo $1"
alias ..="cd .."
alias ...="cd ../.."
alias ll='ls -alh'
alias vi=vim
# btp / cap / bas aliases
alias cfss="cf login --sso"
alias nr="npm run"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment