From 113372358a29fc6094120f9c30ce10dd6bd3af89 Mon Sep 17 00:00:00 2001 From: Solomon Laing Date: Fri, 30 May 2025 17:05:45 +0930 Subject: [PATCH] minor changes, gotta keep this stuff improving right? --- .config/lf/lfrc | 6 ++++-- .local/bin/tmux-sessioniser | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.config/lf/lfrc b/.config/lf/lfrc index 93512d9..1000003 100644 --- a/.config/lf/lfrc +++ b/.config/lf/lfrc @@ -189,10 +189,12 @@ map me mkfile_and_edit map gh cd map gd cd ~/Downloads -map gr cd ~/repos +map grr cd ~/repos +map grm cd ~/repos/gitlab.com/inkletblot +map grg cd ~/repos/github.com map gz cd ~/notes map gn cd ~/nextcloud -map gH cd ~/nextcloud/university/Honours +map gW cd ~/nextcloud/WGV map gcc cd ~/.config map gcn cd ~/.config/nvim map gcl cd ~/.config/lf diff --git a/.local/bin/tmux-sessioniser b/.local/bin/tmux-sessioniser index 232d5e2..c7cc6d6 100755 --- a/.local/bin/tmux-sessioniser +++ b/.local/bin/tmux-sessioniser @@ -6,7 +6,7 @@ if [[ $# -eq 1 ]]; then selected=$1 else - selected=$(find ~/repos ~/.config ~/ ~/work ~/.xmonad ~/nextcloud -mindepth 1 -maxdepth 1 -type d | fzf) + selected=$(find ~/repos/github.com/*/ ~/repos/gitlab.com/inkletblot ~/.config ~/ ~/nextcloud ~/nextcloud/*/ -mindepth 1 -maxdepth 1 -type d | fzf) fi if [[ -z $selected ]]; then @@ -21,7 +21,7 @@ if [[ -z $TMUX ]] && [[ -z $tmux_running ]]; then exit 0 fi -if ! tmux has-session -t="$selected_name" 2> /dev/null; then +if ! tmux has-session -t="$selected_name" 2>/dev/null; then tmux new-session -ds "$selected_name" -c "$selected" fi