aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsession4
1 files changed, 2 insertions, 2 deletions
diff --git a/session b/session
index 9b5472c..168e05c 100755
--- a/session
+++ b/session
@@ -56,7 +56,7 @@ function __session_query {
fi
# Qutebrowser
- if __session_not_ignored qutebrowser && [ -d "$HOME/.local/share/qutebrowser" ]; then
+ if __session_not_ignored qutebrowser && [ -d "$HOME/.local/share/qutebrowser/sessions" ]; then
ls -1 $HOME/.local/share/qutebrowser/sessions | sed -e 's/.yml$//'
fi
@@ -113,7 +113,7 @@ function __session_list {
fi
# Qutebrowser
- if __session_not_ignored qutebrowser && [ -d "$HOME/.local/share/qutebrowser/sessions/$session.yml" ]; then
+ if __session_not_ignored qutebrowser && [ -e "$HOME/.local/share/qutebrowser/sessions/$session.yml" ]; then
echo -n " qutebrowser"
#else
# echo " -"