1
0
Fork 0

fix bookmarks

This commit is contained in:
Luca Bilke 2023-11-24 17:05:48 +01:00
parent 9c21d09fb8
commit f0e971b372
5 changed files with 9 additions and 10 deletions

View File

@ -1,3 +1,3 @@
# keys filename
bf $XDG_DATA_HOME/bookmarks/files
bd $XDG_DATA_HOME/bookmarks/directories
bf $XDG_CONFIG_HOME/bookmarks/files
bd $XDG_CONFIG_HOME/bookmarks/directories

View File

@ -31,8 +31,7 @@ cmd trash %{{
cmd lazygit ${{
clear
if [ ! -e "$PWD/.git" ]; then
echo "Not in a git repository. Create a new git repository? (y/n): "
[ $(echo "Yes\nNo" | fzf) = "Yes" ] && git init && lazygit -p $PWD
[ $(echo "Yes\nNo" | fzf --header="Not in a git repository. Create a new git repository? (y/n): ") = "Yes" ] && git init && lazygit -p $PWD
else
lazygit -p $PWD
fi

View File

@ -14,5 +14,5 @@ map gms cd "/home/luca/Music"
map gpc cd "/home/luca/Pictures"
map gvd cd "/home/luca/Videos"
map gdot cd "/home/luca/.local/share/stow/dots"
map Ebf $$EDITOR "/home/luca/.local/share/bookmarks/files"
map Ebd $$EDITOR "/home/luca/.local/share/bookmarks/directories"
map Ebf $$EDITOR "/home/luca/.config/bookmarks/files"
map Ebd $$EDITOR "/home/luca/.config/bookmarks/directories"

View File

@ -14,5 +14,5 @@ hash -d ms=/home/luca/Music
hash -d pc=/home/luca/Pictures
hash -d vd=/home/luca/Videos
hash -d dot=/home/luca/.local/share/stow/dots
hash -d bf=/home/luca/.local/share/bookmarks/files
hash -d bd=/home/luca/.local/share/bookmarks/directories
hash -d bf=/home/luca/.config/bookmarks/files
hash -d bd=/home/luca/.config/bookmarks/directories

View File

@ -15,5 +15,5 @@ ms="cd /home/luca/Music" \
pc="cd /home/luca/Pictures" \
vd="cd /home/luca/Videos" \
dot="cd /home/luca/.local/share/stow/dots" \
bf="$EDITOR /home/luca/.local/share/bookmarks/files" \
bd="$EDITOR /home/luca/.local/share/bookmarks/directories" \
bf="$EDITOR /home/luca/.config/bookmarks/files" \
bd="$EDITOR /home/luca/.config/bookmarks/directories" \