Update zshrc and tmux.conf

This commit is contained in:
Rob Watson 2020-07-01 11:51:53 +02:00
parent 7cc3092896
commit 327fc29930
2 changed files with 11 additions and 6 deletions

View File

@ -9,7 +9,7 @@ set-option -g set-titles on
set -g status-keys vi
set -g history-limit 10000
set -g escape-time 0
set -g repeat-time 1000
setw -g mouse off
bind-key v split-window -h
@ -47,6 +47,4 @@ bind -n M-Down select-pane -D
bind -n S-Left previous-window
bind -n S-Right next-window
set -g repeat-time 1000
bind r source-file ~/.tmux.conf \; display "Reloading config..."

13
zshrc
View File

@ -108,9 +108,6 @@ bindkey -v
export PATH=$HOME/local/bin:$PATH
export PATH=$HOME/bin:$PATH
# General environment
export EDITOR=vim
# set up asdf (must be after paths)
. $HOME/.asdf/asdf.sh
@ -120,6 +117,16 @@ git config --global alias.ci commit
git config --global alias.st status
git config --global alias.br branch
# Other aliases
# recursive grep with line numbers and colour, ignoring binary files:
alias gnr="grep -nR -I --color"
# same but case-insensitive:
alias gnri="grep -nRi -I --color"
# Postgres default user:
export PGUSER=postgres
# On boot, power on bluetooth and start xfce
if [ $(tty) = "/dev/tty1" ]; then
bluetoothctl power on