zshrc, bashrc: some cosmetics and fixes; i3: replace reload with restart
This commit is contained in:
parent
00b1967b33
commit
fafbec6d5c
3 changed files with 9 additions and 9 deletions
11
bashrc
11
bashrc
|
@ -7,10 +7,10 @@ HISTFILE="$HOME/.bash_history.$UID"
|
||||||
HISTCONTROL=ignoredups
|
HISTCONTROL=ignoredups
|
||||||
shopt -s histappend checkwinsize autocd
|
shopt -s histappend checkwinsize autocd
|
||||||
|
|
||||||
export LESS='-R'
|
export LESS='i M R'
|
||||||
export PAGER='less'
|
export PAGER=less
|
||||||
export EDITOR='vim'
|
export EDITOR=vim
|
||||||
export TIME_STYLE='long-iso'
|
export TIME_STYLE=long-iso
|
||||||
export SSH_AUTH_SOCK="$HOME/.ssh/ssh_auth_sock"
|
export SSH_AUTH_SOCK="$HOME/.ssh/ssh_auth_sock"
|
||||||
# }}}
|
# }}}
|
||||||
# {{{ prompt
|
# {{{ prompt
|
||||||
|
@ -31,8 +31,7 @@ beep() { printf "\007"; }
|
||||||
fixterm() { printf "c"; }
|
fixterm() { printf "c"; }
|
||||||
|
|
||||||
diff() { command diff --color "$@"; }
|
diff() { command diff --color "$@"; }
|
||||||
less() { command less -R "$@"; }
|
tailf() { command less +F "$@"; }
|
||||||
tailf() { command less -R +F "$@"; }
|
|
||||||
rgrep() { command grep --exclude-dir=\.git -R "$@"; }
|
rgrep() { command grep --exclude-dir=\.git -R "$@"; }
|
||||||
whence() { command -v "$@"; }
|
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
|
bindsym $mod+Shift+0 move container to workspace 10
|
||||||
|
|
||||||
# reload the configuration file
|
# 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)
|
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
||||||
bindsym $mod+Control+r restart
|
bindsym $mod+Control+r restart
|
||||||
|
@ -173,6 +173,7 @@ workspace_auto_back_and_forth yes
|
||||||
force_focus_wrapping yes
|
force_focus_wrapping yes
|
||||||
|
|
||||||
# software
|
# software
|
||||||
|
for_window [class="GalaxyBudsClient"] floating enable
|
||||||
for_window [class="jetbrains-toolbox"] floating enable
|
for_window [class="jetbrains-toolbox"] floating enable
|
||||||
for_window [class="Vpnui"] floating enable
|
for_window [class="Vpnui"] floating enable
|
||||||
for_window [class="Deadbeef"] floating enable
|
for_window [class="Deadbeef"] floating enable
|
||||||
|
|
4
zshrc
4
zshrc
|
@ -11,7 +11,7 @@ SAVEHIST=1000
|
||||||
HISTSIZE=1000
|
HISTSIZE=1000
|
||||||
HISTFILE=$HOME/.histfile.$UID
|
HISTFILE=$HOME/.histfile.$UID
|
||||||
|
|
||||||
export LESS='-R'
|
export LESS='i M R'
|
||||||
export PAGER=less
|
export PAGER=less
|
||||||
export EDITOR=vim
|
export EDITOR=vim
|
||||||
export TIME_STYLE=long-iso
|
export TIME_STYLE=long-iso
|
||||||
|
@ -153,7 +153,7 @@ beep() { printf $'\007' }
|
||||||
fixterm() { printf $'c' }
|
fixterm() { printf $'c' }
|
||||||
|
|
||||||
diff() { command diff --color $@ }
|
diff() { command diff --color $@ }
|
||||||
tailf() { command less -R +F $@ }
|
tailf() { command less +F $@ }
|
||||||
rgrep() { command grep --exclude-dir=\.git -R $@ }
|
rgrep() { command grep --exclude-dir=\.git -R $@ }
|
||||||
|
|
||||||
# ls
|
# ls
|
||||||
|
|
Loading…
Reference in a new issue