Bladeren bron

zshrc scripts (backup+logaliases)

master
Dirk Alders 1 jaar geleden
bovenliggende
commit
090c5ce473

+ 11
- 0
.zshrc.d/__available__/backup_data.zsh Bestand weergeven

@@ -0,0 +1,11 @@
1
+#!/bin/sh
2
+#
3
+
4
+if [ `~/bin/backup_data_info` -ge 6 ]; then
5
+    echo -e "\033[0;33m"
6
+    echo !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7
+    echo !!! Automatically backup needed! Start \~/bin/backup_data !!!
8
+    echo !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
9
+    echo -e "\033[0m"
10
+fi
11
+

+ 2
- 0
.zshrc.d/__available__/logaliases.sh Bestand weergeven

@@ -0,0 +1,2 @@
1
+alias logtail="tail -fn 100 |grep -i -e '^' -e 'warning' -e 'error'"
2
+alias logless="cat | grep -i -e '^' -e 'warning' -e 'error'"

+ 0
- 2
.zshrc.d/__available__/logview.zsh Bestand weergeven

@@ -1,2 +0,0 @@
1
-alias logview="tail -fn 100 |grep -i -e '^' -e 'warning' -e 'error'"
2
-

Laden…
Annuleren
Opslaan