9f517290daf7aaf71436f67cc4631e35be7cc489
- Author
- Pavle Portic <git@theedgeofrage.com>
- Committer
- Pavle Portic <git@theedgeofrage.com>
- Date
Message
Remove pbin and sha256 zsh functions
Diff
1diff --git a/dot_config/zsh/functions/pbin b/dot_config/zsh/functions/pbin
2deleted file mode 100644
3index 472ba54b80a2d5fabe6fcb83d2120e5c13a95d18..0000000000000000000000000000000000000000
4--- a/dot_config/zsh/functions/pbin
5+++ /dev/null
6@@ -1,16 +0,0 @@
7-# vim: ft=zsh
8-# Wrapper function for pbincli for easier output parsing
9-
10-LOGFILE="$HOME/.local/share/pbincli/pbincli.log"
11-DATADIR="$HOME/.local/share/pbincli"
12-
13-mkdir -p $DATADIR
14-echo "-------------------------------------------" >> $LOGFILE
15-date --iso-8601=seconds >> $LOGFILE
16-
17-OUTPUT=$(pbincli send $@)
18-echo $OUTPUT >> $LOGFILE
19-echo "" >> $LOGFILE
20-
21-echo $OUTPUT | tail -n1 | cut -d $'\t' -f 3
22-
23diff --git a/dot_config/zsh/functions/sha256 b/dot_config/zsh/functions/sha256
24deleted file mode 100644
25index 821abb4921bb2a6a64b7ae91bd8f67eb99aab8dd..0000000000000000000000000000000000000000
26--- a/dot_config/zsh/functions/sha256
27+++ /dev/null
28@@ -1,4 +0,0 @@
29-# Function to Calculate the sha256sum of a string
30-
31-echo -n "$@" | sha256sum | base64 | head -n1 | tr -d '\n'
32-