citadel

My dotfiles, scripts and nix configs
git clone git://jb55.com/citadel
Log | Files | Refs | README | LICENSE

commit 78a8e0f3163fac62835d07670746b88e6dcfd61f
parent 0e3a9f0a45b0eafde6a7170dd7c064f68959f985
Author: William Casarin <jb55@jb55.com>
Date:   Wed, 18 Nov 2020 12:43:38 -0800

bin: edit-gui

Diffstat:
Mbin/browser | 1+
Mbin/edit | 9+++++----
Abin/edit-gui | 2++
3 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/bin/browser b/bin/browser @@ -6,6 +6,7 @@ set -e #BROWSER=chromium BROWSER=qutebrowser BROWSER_ARGS="--enable-webengine-inspector" +export EDITOR=/home/jb55/bin/edit-gui kill_browser () { #exec pkill qutebrowser diff --git a/bin/edit b/bin/edit @@ -1,7 +1,8 @@ #!/usr/bin/env bash + exec nvim "$@" -#jif [ -t 0 ]; then -#jelse -#j exec urxvtc -e nvim "$@" -#jfi +#if [ -t 0 ]; then +#else +# exec urxvtc -e nvim "$@" +#fi diff --git a/bin/edit-gui b/bin/edit-gui @@ -0,0 +1,2 @@ +#!/usr/bin/env sh +exec urxvtc -e nvim "$@"