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

master
Von Random 1 month ago
parent 00b1967b33
commit fafbec6d5c
  1. 11
      bashrc
  2. 3
      i3_config
  3. 4
      zshrc

@ -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 "$@"; }

@ -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

@ -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

Loading…
Cancel
Save