From f512197d8acf5b2a8b04ff4d0b174c08bb1bdfd2 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Wed, 23 Dec 2020 10:44:19 -0600 Subject: [PATCH] Make C alias exit successfully even when not in TMUX --- apps/shell/fish/aliases.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/shell/fish/aliases.fish b/apps/shell/fish/aliases.fish index ad5725a..5ad8222 100755 --- a/apps/shell/fish/aliases.fish +++ b/apps/shell/fish/aliases.fish @@ -93,7 +93,7 @@ alias cdltl "cd (ltld)" function pp; while not ping -n 1 -t 5 8.8.8.8; sleep 1; end; end alias p "ping 8.8.8.8" -alias C "clear; set -q TMUX && tmux clear-history" +alias C "clear; set -q TMUX && tmux clear-history || true" alias sctl "sudo systemctl" alias sctlu "systemctl --user" alias bt "sctl start bluetooth && sudo bluetoothctl"