Little script updates

This commit is contained in:
xeruf 2021-06-24 22:12:10 +02:00
parent 7b4696b3a6
commit 14b3c655da
3 changed files with 4 additions and 1 deletions

View File

@ -2,5 +2,6 @@ $XDG_CONFIG_HOME/yadm
$XDG_CONFIG_HOME/doom $XDG_CONFIG_HOME/doom
$XDG_CONFIG_HOME/git $XDG_CONFIG_HOME/git
$XDG_CONFIG_HOME/nvim $XDG_CONFIG_HOME/nvim
$XDG_CONFIG_HOME/zsh/completion
$CONFIG_SHELLS $CONFIG_SHELLS
$HOME/.local/bin/scripts $HOME/.local/bin/scripts

2
.local/bin/scripts/coinflip Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
random --min 0 --max 1 "$@"

View File

@ -42,7 +42,7 @@ export CCACHE_DIR="$XDG_CACHE_HOME"/ccache
export IGNOREDIRS=".sync,.stfolder,.git,out,build,dev" export IGNOREDIRS=".sync,.stfolder,.git,out,build,dev"
export EDITOR=/usr/bin/nvim export EDITOR=/usr/bin/nvim
export MANPAGER="sh -c 'col -bx | bat -l man -p'" export MANPAGER="sh -c 'col -bx | bat -l man -p'"
export LESS='--RAW-CONTROL-CHARS --ignore-case' export LESS='--RAW-CONTROL-CHARS --ignore-case --incsearch'
# red stderr # red stderr
test -f "/usr/lib/libstderred.so" && export LD_PRELOAD="/usr/lib/libstderred.so${LD_PRELOAD:+:$LD_PRELOAD}" test -f "/usr/lib/libstderred.so" && export LD_PRELOAD="/usr/lib/libstderred.so${LD_PRELOAD:+:$LD_PRELOAD}"
# software config # software config