aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/scripts
diff options
context:
space:
mode:
authorcbreton <c.breton@fullsave.com>2020-01-09 10:55:24 +0100
committercbreton <c.breton@fullsave.com>2020-01-09 10:55:24 +0100
commit58384dce1da1f8f77b3a3ae4d1546a2773b63fe2 (patch)
tree17eed1920204a5a7c115da5c5c1057e9c8b8f9ef /dotfiles/scripts
parentf86d315c79f1ea2cfec263f412931a6a33db5179 (diff)
downloaddotfiles_dotdrop-58384dce1da1f8f77b3a3ae4d1546a2773b63fe2.tar.xz
dotfiles_dotdrop-58384dce1da1f8f77b3a3ae4d1546a2773b63fe2.zip
Add cheat commands and script for better view
use clima bin in ~/bin. More info here: https://github.com/Canop/clima
Diffstat (limited to '')
-rwxr-xr-xdotfiles/scripts/cheatv5
1 files changed, 5 insertions, 0 deletions
diff --git a/dotfiles/scripts/cheatv b/dotfiles/scripts/cheatv
new file mode 100755
index 0000000..b052dfe
--- /dev/null
+++ b/dotfiles/scripts/cheatv
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+cheat_path=$(cheat -l | grep $1 | awk '{print $2}')
+
+~/bin/clima -p $cheat_path