diff options
| -rw-r--r-- | home/ebisu/fortune/system/shell/fish.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/home/ebisu/fortune/system/shell/fish.nix b/home/ebisu/fortune/system/shell/fish.nix index c835259..3176c88 100644 --- a/home/ebisu/fortune/system/shell/fish.nix +++ b/home/ebisu/fortune/system/shell/fish.nix @@ -35,6 +35,14 @@ function nix-find find $argv -type f -exec test ! -L {} \; -exec realpath {} \; | grep -v "^/nix/store" end + + function code + command code $argv --wait + end + + function code! + command code $argv + end end set -l config_home (set -q XDG_CONFIG_HOME; and echo $XDG_CONFIG_HOME; or echo ${config.xdg.configHome}) |