From 14b3c655da123e9eddf7c9a548ce272cfab48f9f Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Thu, 24 Jun 2021 22:12:10 +0200 Subject: [PATCH] Little script updates --- .config/yadm/unignore | 1 + .local/bin/scripts/coinflip | 2 ++ .zprofile | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100755 .local/bin/scripts/coinflip diff --git a/.config/yadm/unignore b/.config/yadm/unignore index fcb0556..3a057ee 100644 --- a/.config/yadm/unignore +++ b/.config/yadm/unignore @@ -2,5 +2,6 @@ $XDG_CONFIG_HOME/yadm $XDG_CONFIG_HOME/doom $XDG_CONFIG_HOME/git $XDG_CONFIG_HOME/nvim +$XDG_CONFIG_HOME/zsh/completion $CONFIG_SHELLS $HOME/.local/bin/scripts diff --git a/.local/bin/scripts/coinflip b/.local/bin/scripts/coinflip new file mode 100755 index 0000000..b61190d --- /dev/null +++ b/.local/bin/scripts/coinflip @@ -0,0 +1,2 @@ +#!/bin/sh +random --min 0 --max 1 "$@" diff --git a/.zprofile b/.zprofile index da88454..7ad3e8a 100644 --- a/.zprofile +++ b/.zprofile @@ -42,7 +42,7 @@ export CCACHE_DIR="$XDG_CACHE_HOME"/ccache export IGNOREDIRS=".sync,.stfolder,.git,out,build,dev" export EDITOR=/usr/bin/nvim 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 test -f "/usr/lib/libstderred.so" && export LD_PRELOAD="/usr/lib/libstderred.so${LD_PRELOAD:+:$LD_PRELOAD}" # software config