summaryrefslogtreecommitdiff
path: root/dot_config/private_fish
diff options
context:
space:
mode:
authorChloƩ Vulquin <code@toast.bunkerlabs.net>2024-04-21 10:54:15 +0200
committerChloƩ Vulquin <code@toast.bunkerlabs.net>2024-04-21 10:54:15 +0200
commit61ef9617fd94d5ec2f729d358bd9b5d18d17b580 (patch)
tree9987511594630c908fddf41d0777dc6863fa540c /dot_config/private_fish
parentsh/zoxide: also alias cd (diff)
fish/setux: don't -el the arg
It honestly makes no sense, why did I do this? It breaks on older fish and is really unnecessary.
Diffstat (limited to 'dot_config/private_fish')
-rw-r--r--dot_config/private_fish/functions/setux.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/dot_config/private_fish/functions/setux.fish b/dot_config/private_fish/functions/setux.fish
index 55a457f..98f0a9e 100644
--- a/dot_config/private_fish/functions/setux.fish
+++ b/dot_config/private_fish/functions/setux.fish
@@ -1,7 +1,7 @@
function setux --description "set named -U variables as -gx, overriding if necessary"
for i in $argv
if set -qU $i
- set -elg $i
+ set -eg $i
set -gx $i $$i
end
end