From f383ea1983e6458ca4a5b59192ec5f87e8d57387 Mon Sep 17 00:00:00 2001 From: David Runge Date: Thu, 13 Sep 2018 19:02:25 +0200 Subject: .zsh.after/export.zsh: Don't use tmux-256color in tmux on Debilian because it's too old. --- .zsh.after/export.zsh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to '.zsh.after') diff --git a/.zsh.after/export.zsh b/.zsh.after/export.zsh index 921401d..54d78ab 100644 --- a/.zsh.after/export.zsh +++ b/.zsh.after/export.zsh @@ -1,5 +1,4 @@ -# use xterm-color anywhere. Sane default for color and termite -if [[ -n $TMUX ]] && [[ $VENDOR != "apple" ]];then +if [[ -n $TMUX ]] && [[ $VENDOR != "apple" ]] && [[ ! -e /etc/debian_version ]]; then export TERM="tmux-256color" elif [[ -n $STY ]];then export TERM="screen-256color" -- cgit v1.2.3-54-g00ecf From f31796d7db54baa60306c4adcc5601eaea8d43ee Mon Sep 17 00:00:00 2001 From: David Runge Date: Thu, 13 Sep 2018 19:08:32 +0200 Subject: .zsh.after/functions.zsh: Make rsync output in backup_folder() human readable. Remove weird custom coloring foo. --- .zsh.after/functions.zsh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.zsh.after') diff --git a/.zsh.after/functions.zsh b/.zsh.after/functions.zsh index b089ff6..e2af147 100644 --- a/.zsh.after/functions.zsh +++ b/.zsh.after/functions.zsh @@ -203,13 +203,13 @@ ex2() { ## RSYNC backupinfo() { - log_cyan "INFO" rsync\ -r\ -n\ -t\ -p\ -o\ + -h\ -g\ -v\ --progress\ @@ -232,6 +232,7 @@ backupfolder() { -t\ -p\ -o\ + -h\ -g\ -v\ --progress\ -- cgit v1.2.3-54-g00ecf From 836e1ac848e412f0ea8d5564f625a796c2b9a85f Mon Sep 17 00:00:00 2001 From: David Runge Date: Sat, 17 Nov 2018 01:08:18 +0100 Subject: .zsh.after/aliases.zsh: Removing useless pacsearch overloading. --- .zsh.after/aliases.zsh | 1 - 1 file changed, 1 deletion(-) (limited to '.zsh.after') diff --git a/.zsh.after/aliases.zsh b/.zsh.after/aliases.zsh index 8a86938..413dd3b 100644 --- a/.zsh.after/aliases.zsh +++ b/.zsh.after/aliases.zsh @@ -162,7 +162,6 @@ alias pac='sudo pacman -S' #Install specific package(s) from the repositories alias pacu='sudo pacman -U' #Install specific package not from the repositories but from a file alias pacre='sudo pacman -R' #Remove the specified package(s), retaining its configuration(s) and required dependencies alias pacrem='sudo pacman -Rns' #Remove specified package(s), its configuration(s) and unneeded depends -alias pacsearch="pacman -Sl | cut -d' ' -f2 | grep " #Search through all available packages in repo alias pacname="sudo pacman -Qi|grep Name|grep " #Search through names of packages by string alias pacri='pacman -Si' #Display information about a given package in the repositories alias pacrs='pacman -Ss' #Search for package(s) in the repositories -- cgit v1.2.3-54-g00ecf