aboutsummaryrefslogtreecommitdiffstats
path: root/.zsh.after
diff options
context:
space:
mode:
authorDavid Runge <david.runge@frqrec.com>2014-11-28 15:52:21 +0100
committerDavid Runge <david.runge@frqrec.com>2014-11-28 15:52:21 +0100
commit95e4d20a21054bcc3240e733662a5f2aaa331292 (patch)
tree8fd54e6e262f1c3a2800ce86c7d2571e9228a7b1 /.zsh.after
parente39c0420a829c4507989f88c446461b05af9b7aa (diff)
parent80fdb114410b477170a56061d60f5c6316043acc (diff)
downloaddotfiles-95e4d20a21054bcc3240e733662a5f2aaa331292.tar.gz
dotfiles-95e4d20a21054bcc3240e733662a5f2aaa331292.tar.bz2
dotfiles-95e4d20a21054bcc3240e733662a5f2aaa331292.tar.xz
dotfiles-95e4d20a21054bcc3240e733662a5f2aaa331292.zip
Merge branch 'master' of https://git.frqrec.com/git/dot
* 'master' of https://git.frqrec.com/git/dot: (22 commits) .gitignore: Adding further programs and their configs to the list, removing double entries mc panels.ini: Adding panels.ini. Qsampler.conf: Adding first config. .nvimrc: Adding config for NeoVim (symlink to Vim config). .linphonerc: Adding first linphone config file patchagerc: Adding first config file (still very messy with JACK session) mc ini: Adding first ini start_jack: Removing unneeded comments, adding TODO for external config file. checkip: Adding two more possible versions for checking global IP behind NAT. Version using dig now default. adjust_dpms: Merging script based programs into the same Array as the others. Adding -x to pidof check. khard.conf: Adding first khard config for several address books prompt_dvzrv_setup: Adding custom prompt based on steeef_simplified with additional ssh check and exit code printout. prompt.zsh: Switching to custom prompt 'dvzrv' functions.zsh: Making rsync functions more readable by splitting lines. export.zsh: Lowering REPORTTIME to 5 (seconds) aliases.zsh: Adding more systemd aliases. .zpreztorc: Adding highlighting modes. termite: Removing all non-valid settings. Adding transparency setting and colors again. redshift.conf: Choosing xrandr as backend. Setting transition time to 0. Using on screen 0 only. dpms: Adding script based programs to the list of programs. ...
Diffstat (limited to '.zsh.after')
-rw-r--r--.zsh.after/aliases.zsh12
-rw-r--r--.zsh.after/export.zsh2
-rw-r--r--.zsh.after/functions.zsh33
-rw-r--r--.zsh.after/prompt.zsh2
4 files changed, 38 insertions, 11 deletions
diff --git a/.zsh.after/aliases.zsh b/.zsh.after/aliases.zsh
index 6b36ac5..d9e360f 100644
--- a/.zsh.after/aliases.zsh
+++ b/.zsh.after/aliases.zsh
@@ -49,12 +49,6 @@ alias treeg='tree -d /cgroup/systemd/'
alias sdptree='tree -aC /usr/lib/systemd/'
alias sdstree='tree -aC /etc/systemd/'
alias sdutree='tree -aC $HOME/.config/systemd/'
-#systemctl
-alias sdl='sudo systemctl --all'
-alias sdlerr='sudo systemctl --all --full |grep error'
-alias sdlfail='sudo systemctl --all --full |grep failed'
-#timers
-alias sdt='sudo systemctl list-timers'
#journalctl
alias sdj='sudo journalctl'
alias sdjf='sudo journalctl -f' #Follow the messages
@@ -84,6 +78,9 @@ alias sdsbefore='sudo systemctl show -p "Before"'
alias sdsafter='sudo systemctl show -p "After"'
alias sdst='sudo systemctl list-timers'
alias sdsreload='sudo systemctl daemon-reload'
+alias sds='sudo systemctl --all'
+alias sdserr='sudo systemctl --all --full |grep error'
+alias sdsfail='sudo systemctl --all --full |grep failed'
#systemd user services
alias sdustart='systemctl --user start'
alias sdustop='systemctl --user stop'
@@ -105,6 +102,9 @@ alias sdubefore='systemctl --user show -p "Before"'
alias sduafter='systemctl --user show -p "After"'
alias sdut='systemctl --user list-timers'
alias sdureload='systemctl --user daemon-reload'
+#alias sdu='systemctl --user'
+alias sduerr='systemctl --user --all --full |grep error'
+alias sdufail='systemctl --user --all --full |grep failed'
#poweroff/reboot/isolate
alias sdiso='sudo systemctl isolate '
alias sdreboot='sudo systemctl reboot'
diff --git a/.zsh.after/export.zsh b/.zsh.after/export.zsh
index e578ef7..ab087ae 100644
--- a/.zsh.after/export.zsh
+++ b/.zsh.after/export.zsh
@@ -16,7 +16,7 @@ case "$(hostname)" in
esac
export BROWSER=firefox
-export REPORTTIME=30
+export REPORTTIME=5
# if vimpager is installed, use it instead of less
if [[ -x /usr/bin/vimpager ]];then
diff --git a/.zsh.after/functions.zsh b/.zsh.after/functions.zsh
index 44ce51d..14d133d 100644
--- a/.zsh.after/functions.zsh
+++ b/.zsh.after/functions.zsh
@@ -305,12 +305,39 @@ lclose() {
## RSYNC
backupinfo() {
- rsync -r -n -t -p -o -g -v --progress --delete --ignore-existing --size-only -s --exclude 'lost+found' --exclude '.Trash-1000' --exclude '$RECYCLEBIN' --exclude 'System Volume Information' --exclude '.thumbs' $1 $2
- echo "rsync -r -n -t -p -o -g -v --progress --delete --ignore-existing --size-only -s --exclude 'lost+found' --exclude '.Trash-1000' --exclude '\$RECYCLEBIN' --exclude 'System Volume Information' --exclude '.thumbs' /path/to/folder/ /path/to/other/folder"
+ log_cyan "INFO"
+ rsync\
+ -r\
+ -n\
+ -t\
+ -p\
+ -o\
+ -g\
+ -v\
+ --progress\
+ --delete\
+ --ignore-existing\
+ --size-only\
+ -s\
+ --exclude 'lost+found'\
+ --exclude '.Trash-1000'\
+ --exclude '$RECYCLEBIN'\
+ --exclude 'System Volume Information'\
+ --exclude '.thumbs'\
+ $1 $2
+ echo "backupfolder path/to/folder/ /path/to/other/folder"
}
backupfolder() {
- rsync -r -t -p -o -g -v --progress --delete --ignore-existing --size-only -s --exclude 'lost+found' --exclude '.Trash-1000' --exclude '$RECYCLEBIN' --exclude 'System Volume Information' --exclude '.thumbs' $1 $2
+ rsync \
+ -r\
+ -t\
+ -p\
+ -o\
+ -g\
+ -v\
+ --progress\
+ --delete --ignore-existing --size-only -s --exclude 'lost+found' --exclude '.Trash-1000' --exclude '$RECYCLEBIN' --exclude 'System Volume Information' --exclude '.thumbs' $1 $2
}
diff --git a/.zsh.after/prompt.zsh b/.zsh.after/prompt.zsh
index 0cb4ad6..46c9f36 100644
--- a/.zsh.after/prompt.zsh
+++ b/.zsh.after/prompt.zsh
@@ -1,2 +1,2 @@
-prompt steeef_simplified
+prompt dvzrv