Skip to content

Instantly share code, notes, and snippets.

@carlosfilho88
Created September 18, 2016 13:16
Show Gist options
  • Save carlosfilho88/44b378e74b91415288b1c04b1a881b1e to your computer and use it in GitHub Desktop.
Save carlosfilho88/44b378e74b91415288b1c04b1a881b1e to your computer and use it in GitHub Desktop.
.bashrc configs
# Useful aliases
alias ws='cd /var/www'
PATH=${PATH}:~/android-sdks/tools
PATH=${PATH}:~/android-sdks/platform-tools
PATH=${PATH}:~/.config/composer/vendor/bin
# history search arrow keys
bind '"\e[A": history-search-backward'
bind '"\e[B": history-search-forward'
bind '"\e[C": forward-char'
bind '"\e[D": backward-char'
# that behaviour is for pageup and pagedown
bind '"\e[5~": previous-history'
bind '"\e[6~": next-history'
# show possibilities if tab ambigious
#set show-all-if-ambiguous on
# ignore case when completing, lets see how it works
set completion-ignore-case on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment