1
0
Fork 0

zshrc, bashrc: some cosmetics and fixes; i3: replace reload with restart

This commit is contained in:
Von Random 2022-07-06 18:53:00 +03:00
parent 00b1967b33
commit fafbec6d5c
3 changed files with 9 additions and 9 deletions

11
bashrc
View file

@ -7,10 +7,10 @@ HISTFILE="$HOME/.bash_history.$UID"
HISTCONTROL=ignoredups
shopt -s histappend checkwinsize autocd
export LESS='-R'
export PAGER='less'
export EDITOR='vim'
export TIME_STYLE='long-iso'
export LESS='i M R'
export PAGER=less
export EDITOR=vim
export TIME_STYLE=long-iso
export SSH_AUTH_SOCK="$HOME/.ssh/ssh_auth_sock"
# }}}
# {{{ prompt
@ -31,8 +31,7 @@ beep() { printf "\007"; }
fixterm() { printf "c"; }
diff() { command diff --color "$@"; }
less() { command less -R "$@"; }
tailf() { command less -R +F "$@"; }
tailf() { command less +F "$@"; }
rgrep() { command grep --exclude-dir=\.git -R "$@"; }
whence() { command -v "$@"; }

View file

@ -110,7 +110,7 @@ bindsym $mod+Shift+9 move container to workspace 9
bindsym $mod+Shift+0 move container to workspace 10
# reload the configuration file
bindsym $mod+Shift+r reload
bindsym $mod+Shift+r restart
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Control+r restart
@ -173,6 +173,7 @@ workspace_auto_back_and_forth yes
force_focus_wrapping yes
# software
for_window [class="GalaxyBudsClient"] floating enable
for_window [class="jetbrains-toolbox"] floating enable
for_window [class="Vpnui"] floating enable
for_window [class="Deadbeef"] floating enable

4
zshrc
View file

@ -11,7 +11,7 @@ SAVEHIST=1000
HISTSIZE=1000
HISTFILE=$HOME/.histfile.$UID
export LESS='-R'
export LESS='i M R'
export PAGER=less
export EDITOR=vim
export TIME_STYLE=long-iso
@ -153,7 +153,7 @@ beep() { printf $'\007' }
fixterm() { printf $'c' }
diff() { command diff --color $@ }
tailf() { command less -R +F $@ }
tailf() { command less +F $@ }
rgrep() { command grep --exclude-dir=\.git -R $@ }
# ls