Skip to content

Commit

Permalink
feat(sh): add vivid for LS_COLORS
Browse files Browse the repository at this point in the history
  • Loading branch information
tobyvin committed Dec 20, 2022
1 parent a2e249f commit 77b5e60
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
12 changes: 7 additions & 5 deletions sh/.profile
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,20 @@ export XDG_CACHE_HOME="$HOME/.cache"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_STATE_HOME="$HOME/.local/state"
export XDG_RUNTIME_DIR="${XDG_RUNTIME_DIR:-/run/user/$(id -u "$USER")}"
EDITOR="$(command -v nvim 2>/dev/null || command -v vim 2>/dev/null || command -v vi)"
export EDITOR
BROWSER="$(command -v firefox || command -v chromium 2>/dev/null)"
export BROWSER

export BASE16_DEFAULT_THEME="gruvbox-dark-hard"
LS_COLORS="$(vivid generate $BASE16_DEFAULT_THEME 2>/dev/null)"
export LS_COLORS

export EDITOR="nvim"
export BROWSER="firefox"
export TERMINAL="alacritty"
export MANPAGER="sh -c 'col -bx | bat -l man -p'"
export MANROFFOPT="-c"
export LESS="--RAW-CONTROL-CHARS --quit-if-one-screen --mouse"
export LESSOPEN="|lesspipe.sh %s"
export LESSHISTFILE="$XDG_STATE_HOME/lesshst"
export WGETRC="$XDG_CONFIG_HOME/wgetrc"
export BASE16_DEFAULT_THEME="gruvbox-dark-hard"
export PASSWORD_STORE_DIR="$HOME/.password-store"
export PASSWORD_STORE_ENABLE_EXTENSIONS=true
export ZK_NOTEBOOK_DIR="$HOME/notebook"
Expand Down
6 changes: 3 additions & 3 deletions zsh/.config/zsh/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ bindkey -M vicmd '^[[1;5C' forward-word
bindkey -M vicmd '^[[1;5D' backward-word
bindkey -M vicmd '^[q' push-input

alias ls="ls --color=tty"
alias grep='grep --color'
alias ls="ls --color=auto"
alias grep='grep --color=auto'
alias ipa="ip -s -c -h a"
alias untar="tar -zxvf"
alias wget='wget --hsts-file="$XDG_CACHE_HOME/wget-hsts"'
alias tlmgr='/usr/share/texmf-dist/scripts/texlive/tlmgr.pl --usermode'
alias unlock='echo "" | gpg --clearsign --verbose && ssh -T [email protected]'
alias unlock='echo "" | gpg --clearsign 1>/dev/null && ssh localhost -- : 1>/dev/null'

SHELDON_PROFILE="$(uname -r 2>/dev/null | rev | cut -d- -f1 | rev)"
export SHELDON_PROFILE
Expand Down

0 comments on commit 77b5e60

Please sign in to comment.