posix
This commit is contained in:
parent
11b6fe4b15
commit
ac048c44b3
1 changed files with 28 additions and 12 deletions
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
|
||||
# Keyboard lights
|
||||
[ -x "$(command -v g610-led)" ] && g610-led -a ff
|
||||
|
@ -6,9 +6,11 @@
|
|||
# Colors
|
||||
[ -x "$(command -v wal)" ] && wal -R
|
||||
|
||||
export PATH="$PATH:$(du "$HOME/.local/bin" | cut -f2 | paste -sd ':' -)"
|
||||
if test -d $HOME/.local/share/cargo/bin; then
|
||||
export PATH=$PATH:$HOME/.local/share/cargo/bin
|
||||
export PATH
|
||||
PATH="$PATH:$(du "$HOME/.local/bin" | cut -f2 | paste -sd ':' -)"
|
||||
|
||||
if test -d "$HOME"/.local/share/cargo/bin; then
|
||||
PATH="$PATH:$HOME/.local/share/cargo/bin"
|
||||
fi
|
||||
|
||||
unsetopt PROMPT_SP
|
||||
|
@ -34,14 +36,28 @@ export ZDOTDIR="${XDG_CONFIG_HOME:-$HOME/.config}/shell/zsh"
|
|||
export FZF_DEFAULT_OPTS="--layout=reverse --height 40%"
|
||||
export LESS=-R
|
||||
export LESSOPEN="| /usr/bin/highlight -O ansi %s 2>/dev/null"
|
||||
export LESS_TERMCAP_mb="$(printf '%b' '[1;31m')"
|
||||
export LESS_TERMCAP_md="$(printf '%b' '[1;36m')"
|
||||
export LESS_TERMCAP_me="$(printf '%b' '[0m')"
|
||||
export LESS_TERMCAP_se="$(printf '%b' '[0m')"
|
||||
export LESS_TERMCAP_so="$(printf '%b' '[01;44;33m')"
|
||||
export LESS_TERMCAP_ue="$(printf '%b' '[0m')"
|
||||
export LESS_TERMCAP_us="$(printf '%b' '[1;32m')"
|
||||
export QT_QPA_PLATFORMTHEME="gtk2" # Have QT use gtk2 theme.
|
||||
|
||||
export LESS_TERMCAP_mb
|
||||
LESS_TERMCAP_mb="$(printf '%b' '[1;31m')"
|
||||
|
||||
export LESS_TERMCAP_md
|
||||
LESS_TERMCAP_md="$(printf '%b' '[1;36m')"
|
||||
|
||||
export LESS_TERMCAP_me
|
||||
LESS_TERMCAP_me="$(printf '%b' '[0m')"
|
||||
|
||||
export LESS_TERMCAP_se
|
||||
LESS_TERMCAP_se="$(printf '%b' '[0m')"
|
||||
|
||||
export LESS_TERMCAP_so
|
||||
LESS_TERMCAP_so="$(printf '%b' '[01;44;33m')"
|
||||
|
||||
export LESS_TERMCAP_ue
|
||||
LESS_TERMCAP_ue="$(printf '%b' '[0m')"
|
||||
|
||||
export LESS_TERMCAP_us
|
||||
LESS_TERMCAP_us="$(printf '%b' '[1;32m')"
|
||||
|
||||
# Multithreading
|
||||
export XZ_DEFAULTS="-T 0"
|
||||
|
|
Loading…
Add table
Reference in a new issue