summaryrefslogtreecommitdiff
path: root/home.nix
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2024-01-29 17:37:02 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2024-01-29 17:37:02 +0530
commite7d5f4f5b1d8f58d99c7b584e3be6dab2955c914 (patch)
tree1c9144e462ea0c28758e9455e5280f28d23b0d52 /home.nix
parent7edd6e4ca24b55b418b5c571d0980fbcc0b937fb (diff)
modifications
Diffstat (limited to '')
-rw-r--r--home.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/home.nix b/home.nix
index 324cc6d..d93de84 100644
--- a/home.nix
+++ b/home.nix
@@ -41,13 +41,14 @@ in
enable = true;
initExtra= ''
export PS1="\[\e[38;5;243m\]\h \[\e[38;5;254m\]\w \[\033[0m\]> "
+ set -o vi
if [[ -n "$IN_NIX_SHELL" ]]; then
export PS1="\[\e[38;5;242m\](dev) $PS1"
fi
sessionizer() {
- DIR=$(fd . $HOME --type d -L -H | fzf)
+ DIR=$(fd . /data --type d -L -H | fzf)
SESSION_NAME="$DIR_$(date +%M%S)"
if [ -n "$DIR" ]
@@ -73,7 +74,7 @@ in
fi
bind '"\C-f": "sessionizer\n"'
- bind '"\C-F": "sessionizer -cd\n"'
+ bind '"\C-a": "sessionizer -cd\n"'
'';
};