about summary refs log tree commit diff
path: root/home/profiles
diff options
context:
space:
mode:
Diffstat (limited to 'home/profiles')
-rw-r--r--home/profiles/development/default.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/home/profiles/development/default.nix b/home/profiles/development/default.nix
index b0988c3..60ab329 100644
--- a/home/profiles/development/default.nix
+++ b/home/profiles/development/default.nix
@@ -206,12 +206,12 @@ in
       (pkgs.writeShellScriptBin "ec" "emacsclient -cna emacs $@")
       # Emacsclient with 24bit colours fix for foot
       (pkgs.writeShellScriptBin "e" ''
-       if [[ "$TERM" == "foot" ]]; then
-          eprefix="TERM=foot-emacs"
-        elif [[ "$TERM" == "foot-direct" ]]; then
-          eprefix="TERM=foot-direct-emacs"
-        fi
-        eval "$eprefix emacsclient -ta emacs $@"
+        if [[ "$TERM" == "foot" ]]; then
+           eprefix="TERM=foot-emacs"
+         elif [[ "$TERM" == "foot-direct" ]]; then
+           eprefix="TERM=foot-direct-emacs"
+         fi
+         eval "$eprefix emacsclient -ta emacs $@"
       '')
 
       pkgs.bfg-repo-cleaner