aboutsummaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorbenj <benj@rse8.com>2018-08-09 15:18:07 +0700
committerbenj <benj@rse8.com>2018-08-09 15:18:07 +0700
commit5fffb66d2b12c8ab423eb9e5c1a1fa83d79853d4 (patch)
treecfb85ca93a579e3a33d2a5b199073f9281d53918 /.bashrc
parent2f50deac92ebb680bbe3ec6773d0e46575b5f6b5 (diff)
downloadsetup-5fffb66d2b12c8ab423eb9e5c1a1fa83d79853d4.tar
setup-5fffb66d2b12c8ab423eb9e5c1a1fa83d79853d4.tar.gz
setup-5fffb66d2b12c8ab423eb9e5c1a1fa83d79853d4.tar.bz2
setup-5fffb66d2b12c8ab423eb9e5c1a1fa83d79853d4.tar.lz
setup-5fffb66d2b12c8ab423eb9e5c1a1fa83d79853d4.tar.xz
setup-5fffb66d2b12c8ab423eb9e5c1a1fa83d79853d4.tar.zst
setup-5fffb66d2b12c8ab423eb9e5c1a1fa83d79853d4.zip
updates
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc9
1 files changed, 5 insertions, 4 deletions
diff --git a/.bashrc b/.bashrc
index ce75b3a..0bb1b82 100644
--- a/.bashrc
+++ b/.bashrc
@@ -19,7 +19,6 @@ else
export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]$STY\[\033[36;1m\]#$ssh_text\[\033[32m\]:\[\033[33;1m\]\W\[\033[m\]\[\033[34;1m\]\$(parse_git_branch)\[\033[m\]$ "
fi
-
# Alias
alias sr='screen -r'
alias sls='screen -ls'
@@ -29,10 +28,13 @@ alias se='sudo emacs -nw'
alias vi='vim'
alias wip='git add -A && git commit -m \"wip\"'
alias etags='etags .*{c,C,cc,cpp,h,hh,hpp,cpp}'
+alias r='rg'
+alias grep='grep --color'
+alias g='googler'
export ALTERNATE_EDITOR=""
export EDITOR=e
-export VISUAL=e
+export VISUAL=emacs
# NOTE: These env vars happen to be wanted. This also happens to fix a weird bug (just for reference):
# This is a hack to avoid sbt/scala jline error introduced in the latest ncurses update
@@ -58,12 +60,11 @@ elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
export LS_COLORS="di=1;33:ln=1;35:so=1;32:pi=1;30:ex=1;31:bd=34;46:cd=34;43:su=30;41:sg=30;46:tw=30;42:ow=30;43"
alias pbcopy='xsel --clipboard --input'
alias pbpaste='xsel --clipboard --output'
- alias grep='grep --color'
alias open='xdg-open'
alias ls='ls --color=auto'
# Setup keychain
- /usr/bin/keychain $HOME/.ssh/id_ed25519 $HOME/.ssh/nido_id_ed25519
+ /usr/bin/keychain $HOME/.ssh/id_rsa $HOME/.ssh/id_ed25519 $HOME/.ssh/nido_id_ed25519
. $HOME/.keychain/${HOSTNAME}-sh
# . $HOME/.keychain/${HOSTNAME}-sh-gpg # gpg keychain
# Flush all cached keys in memory. Any agent(s) will continue to run.