Merge branch 'master' of github.com:GeoffreyFrogeye/dotfiles
This commit is contained in:
commit
e9cc83ebf8
2
bash_logout
Normal file
2
bash_logout
Normal file
|
@ -0,0 +1,2 @@
|
|||
clear
|
||||
reset
|
3
bashrc
3
bashrc
|
@ -40,8 +40,6 @@ export ANDROID_HOME=/opt/android-sdk
|
|||
|
||||
|
||||
# Tweaks
|
||||
set -o vi
|
||||
|
||||
[[ $- != *i* ]] && return
|
||||
|
||||
if [ -f /etc/bash_completion ]; then . /etc/bash_completion; fi
|
||||
|
@ -104,6 +102,7 @@ fi
|
|||
alias fuck='eval $(thefuck $(fc -ln -1))'
|
||||
alias FUCK='fuck'
|
||||
|
||||
# Command not found
|
||||
[ -r /etc/profile.d/cnf.sh ] && . /etc/profile.d/cnf.sh
|
||||
|
||||
# Functions
|
||||
|
|
13
inputrc
Normal file
13
inputrc
Normal file
|
@ -0,0 +1,13 @@
|
|||
$include /etc/inputrc
|
||||
set editing-mode vi
|
||||
$if mode=vi
|
||||
set keymap vi-command
|
||||
# these are for vi-command mode
|
||||
"\e[A": history-search-backward
|
||||
"\e[B": history-search-forward
|
||||
set keymap vi-insert
|
||||
# these are for vi-insert mode
|
||||
"\e[A": history-search-backward
|
||||
"\e[B": history-search-forward
|
||||
$endif
|
||||
|
Loading…
Reference in a new issue