aboutsummaryrefslogtreecommitdiff
path: root/home/profiles
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-09-14 20:58:42 +0900
committersefidel <contact@sefidel.net>2023-09-14 20:58:42 +0900
commit3fea50da32e5cd7efd57c7d2f916eaebf3ce9b60 (patch)
tree42d1c4a5f76b8ac6a656350af3ec1ed0cc9aa896 /home/profiles
parent379980b29e5d1e2f6871dd4c7aa6ec0d6ae02b3f (diff)
downloadnixrc-3fea50da32e5cd7efd57c7d2f916eaebf3ce9b60.zip
chore: reformat
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