File tree Expand file tree Collapse file tree 3 files changed +19
-3
lines changed
roles/dotfiles/files/Mackup Expand file tree Collapse file tree 3 files changed +19
-3
lines changed Original file line number Diff line number Diff line change @@ -3,3 +3,4 @@ playbook.retry
33* .swp
44* .pyc
55.zshrc.local
6+ roles /dotfiles /files /Mackup /.config /karabiner /automatic_backups
Original file line number Diff line number Diff line change @@ -16,12 +16,12 @@ macos_option_as_alt both
1616
1717enable_audio_bell no
1818
19- confirm_os_window_close 1
19+ confirm_os_window_close 0
2020
2121# https://github.com/kovidgoyal/kitty/issues/285
2222map ctrl+shift+- send_text all \x1f
2323
24- # env ZSH_TMUX_AUTOSTART=true
24+ env ZSH_TMUX_AUTOSTART=true
2525
2626# include pywal colour scheme
2727include ${HOME}/.cache/wal/colors-kitty.conf
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ alias weather="curl wttr.in/Melbourne"
6565# Setup frequent dirs in the CDPATH so we can cd to them from anywhere
6666# https://thoughtbot.com/blog/cding-to-frequently-used-directories-in-zsh
6767setopt auto_cd
68- cdpath=($HOME /Sites $HOME /src )
68+ cdpath=($HOME /Projects )
6969
7070# Setup a zsh suffix alias to allow fast editing using just the filename
7171# https://opensource.com/article/18/9/tips-productivity-zsh
@@ -160,5 +160,20 @@ if (( $+commands[atuin] )); then
160160 eval " $( atuin init zsh) "
161161fi
162162
163+
163164alias duai=" dua interactive"
165+ # Function to interactively select and cd into a ghq repository
166+ function cghq() {
167+ local repo_path
168+ repo_path=$(
169+ for repo in $( ghq list -p) ; do
170+ echo -e " $( git -C " $repo " log -1 --format=" %ad" --date=format:" %Y-%m-%d" ) \t$repo "
171+ done | sort | fzf --height 20% --delimiter=' \t' --tac --preview " git -C {2} log --oneline --graph --date=relative --all" | cut -f2
172+ )
173+
174+ if [[ -n " $repo_path " ]]; then
175+ cd " $repo_path " || return
176+ fi
177+ }
164178
179+ alias lg=" lazygit"
You can’t perform that action at this time.
0 commit comments