fix bookmarks
This commit is contained in:
parent
9c21d09fb8
commit
f0e971b372
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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" \
|
||||
|
|
Loading…
Reference in New Issue