From c1999695e09eb0d34dd64929abaa0162ff90cb10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Mon, 24 Oct 2022 22:30:11 -0300 Subject: [PATCH] update shell config --- user/fish.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/user/fish.nix b/user/fish.nix index d5c4ec4..e5c4fff 100644 --- a/user/fish.nix +++ b/user/fish.nix @@ -14,13 +14,17 @@ in { if not test -f "$HOME/.ssh/id_rsa" echo "SSH keys not yet setup" end - if not rustc --version &> /dev/null + if not command -qs rustc; or not rustc --version &> /dev/null rustup default stable &>/dev/null & end + set_color normal bind \cy 'commandline | wl-copy -n' ''; - shellAliases = { rm = "trash"; }; + shellAliases = { + rm = "trash"; + tree = "exa -T"; + }; shellAbbrs = { v = "kak"; ns = "nix develop --command $SHELL";