summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <git@mx.buetow.org>2021-06-26 11:19:46 +0100
committerPaul Buetow <git@mx.buetow.org>2021-06-26 11:19:46 +0100
commit609dc5b1f3fbdd0a9f80417c899070f3b53c6168 (patch)
tree557fffa2151c4adce1faf762286dc82a016a0fad
parent425bfc17e229fee7251cb851cba8b3fd6017a95f (diff)
change linux PDF viewer to evince, add fullcommit
-rwxr-xr-xgeheim.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/geheim.rb b/geheim.rb
index 224e63c..23e59cb 100755
--- a/geheim.rb
+++ b/geheim.rb
@@ -412,7 +412,7 @@ class Geheim
when 'Microsoft'
run_command("winopen #{file_path}")
when 'Linux'
- run_command("zathura #{file_path}")
+ run_command("evince #{file_path}")
else
# Termux (Android)
run_command("termux-open #{file_path}")
@@ -469,7 +469,7 @@ class CLI
import FILE [DEST_DIRECTORY] [force]
import_r DIRECTORY [DEST_DIRECTORY]
rm SEARCHTERM
- sync|status|commit|reset
+ sync|status|commit|reset|fullcommit
shred
help
shell
@@ -527,6 +527,10 @@ class CLI
git_reset
when 'sync'
git_sync
+ when 'fullcommit'
+ git_sync
+ git_commit
+ git_sync
when 'shred'
geheim.shred_all_exported
when 'last'