fix minor zsh bugs
This commit is contained in:
parent
a0241ad8bd
commit
8b2ef3da50
2 changed files with 7 additions and 3 deletions
|
@ -9,7 +9,7 @@
|
||||||
# author: Daniel Sommer <daniel.sommer@velvettear.de>
|
# author: Daniel Sommer <daniel.sommer@velvettear.de>
|
||||||
# license: MIT
|
# license: MIT
|
||||||
|
|
||||||
# ----- aliases ----- #
|
# ----- general aliases ----- #
|
||||||
alias eza='eza --icons --group --time-style long-iso --octal-permissions --git'
|
alias eza='eza --icons --group --time-style long-iso --octal-permissions --git'
|
||||||
alias ls='eza'
|
alias ls='eza'
|
||||||
alias ll='eza --long'
|
alias ll='eza --long'
|
||||||
|
@ -35,7 +35,11 @@ alias pfetch='printf "\n" && pfetch'
|
||||||
alias fetch='pfetch'
|
alias fetch='pfetch'
|
||||||
alias stats='pfetch'
|
alias stats='pfetch'
|
||||||
alias icat='kitten icat'
|
alias icat='kitten icat'
|
||||||
alias ssh='kitty +kitten ssh'
|
|
||||||
|
# ----- non-ssh aliases ----- #
|
||||||
|
if [[ -n "$SSH_TTY" ]]; then
|
||||||
|
alias ssh='kitty +kitten ssh'
|
||||||
|
fi
|
||||||
|
|
||||||
# ----- pfetch ----- #
|
# ----- pfetch ----- #
|
||||||
export PF_INFO="ascii title host kernel memory wm shell editor pkgs uptime palette"
|
export PF_INFO="ascii title host kernel memory wm shell editor pkgs uptime palette"
|
||||||
|
|
|
@ -23,7 +23,7 @@ export TEMP="/tmp"
|
||||||
export TMPDIR="/tmp"
|
export TMPDIR="/tmp"
|
||||||
export EDITOR="nvim"
|
export EDITOR="nvim"
|
||||||
export VISUAL="nvim"
|
export VISUAL="nvim"
|
||||||
if [[ "$(command bat 2> /dev/null)" ]]; then
|
if [[ "$(which bat 2> /dev/null)" ]]; then
|
||||||
export PAGER="bat"
|
export PAGER="bat"
|
||||||
else
|
else
|
||||||
export PAGER="less"
|
export PAGER="less"
|
||||||
|
|
Loading…
Reference in a new issue