diff options
-rw-r--r-- | user/settings/base.nix | 2 | ||||
-rw-r--r-- | user/settings/fish/functions/lk.fish | 3 | ||||
-rw-r--r-- | user/settings/fish/functions/tere.fish | 6 | ||||
-rw-r--r-- | user/settings/shell.nix | 2 |
4 files changed, 5 insertions, 8 deletions
diff --git a/user/settings/base.nix b/user/settings/base.nix index 14c2950a..c53de4b9 100644 --- a/user/settings/base.nix +++ b/user/settings/base.nix @@ -96,7 +96,7 @@ remake abduco dvtm - tere + walk (aspellWithDicts (d: [ d.en d.en-computers d.en-science d.de ])) ] ++ ( diff --git a/user/settings/fish/functions/lk.fish b/user/settings/fish/functions/lk.fish new file mode 100644 index 00000000..4a73d92a --- /dev/null +++ b/user/settings/fish/functions/lk.fish @@ -0,0 +1,3 @@ +function lk + set loc (walk $argv); and cd $loc +end diff --git a/user/settings/fish/functions/tere.fish b/user/settings/fish/functions/tere.fish deleted file mode 100644 index ba5816f9..00000000 --- a/user/settings/fish/functions/tere.fish +++ /dev/null @@ -1,6 +0,0 @@ -function tere - set -f result $(command tere $argv) - if test -n $result - cd $result - end -end diff --git a/user/settings/shell.nix b/user/settings/shell.nix index 4babb08f..b0597074 100644 --- a/user/settings/shell.nix +++ b/user/settings/shell.nix @@ -26,7 +26,7 @@ in lla = "lal"; llr = "ll -t"; - c = "tere"; + c = "lk"; "c," = "cd $(ghq list -p nixfiles)"; cg = "cd $(git root)"; cdg = "cd $(git root)"; |