From 5c98048df36d9033380c9594454cc12191a7f682 Mon Sep 17 00:00:00 2001 From: sinarf Date: Fri, 4 Aug 2023 15:42:10 +0200 Subject: [PATCH] minor bugfixes. --- all/.config/shell/alias | 8 +++--- all/.config/shell/zshrc.custom | 4 +-- mac/Library/Preferences/kitty/kitty.conf | 2 +- taskrc | 31 ------------------------ 4 files changed, 7 insertions(+), 38 deletions(-) delete mode 100644 taskrc diff --git a/all/.config/shell/alias b/all/.config/shell/alias index b6e316bb..bc7bea2d 100644 --- a/all/.config/shell/alias +++ b/all/.config/shell/alias @@ -34,11 +34,11 @@ alias ipython='ipython_helper.sh' alias ptw='pytest-watch.sh' # tmux aliases -alias tmright="tmux split-window -h -c "#{pane_current_path}"" -alias tmleft="tmux split-window -h -c "#{pane_current_path}" && tmux swap-pane -U" +alias tmright="tmux split-window -h -c '#{pane_current_path}'" +alias tmleft="tmux split-window -h -c '#{pane_current_path}' && tmux swap-pane -U" -alias tmdown="tmux split-window -c "#{pane_current_path}"" -alias tmup="tmux split-window -c "#{pane_current_path}" && tmux swap-pane -U" +alias tmdown="tmux split-window -c '#{pane_current_path}'" +alias tmup="tmux split-window -c '#{pane_current_path}' && tmux swap-pane -U" alias tldr='tldr --list | fzf --preview "tldr {1} --color=always" --preview-window=right,70% | xargs tldr' diff --git a/all/.config/shell/zshrc.custom b/all/.config/shell/zshrc.custom index e702f713..4931ecd2 100644 --- a/all/.config/shell/zshrc.custom +++ b/all/.config/shell/zshrc.custom @@ -19,9 +19,9 @@ if [[ -n $TMUX ]] && [[ -z "$NVIM" ]]; then # But I don't want it when I open a terminal in nvim if git rev-parse -q --short HEAD 1>&2 2>/dev/null; then # Never forget to fetch when in a git repository - tmux popup -B -w 80% -h 80% -d $(pwd) -E 'bash -c "echo -e \"\e[34m Git repository detected, fetching...\" && git fetch || true"' & + tmux popup -B -w 80% -h 80% -d $(pwd) -E 'bash -c "echo -e \"\e[34m Git repository detected, fetching...\" && git fetch && sleep 1 || true"' & disown # eliminate the message when process ends. - clear # removes artifacts from the previous command + clear # keeps the terminal clean fi fi diff --git a/mac/Library/Preferences/kitty/kitty.conf b/mac/Library/Preferences/kitty/kitty.conf index 275c3a3e..959ddf74 100644 --- a/mac/Library/Preferences/kitty/kitty.conf +++ b/mac/Library/Preferences/kitty/kitty.conf @@ -233,6 +233,6 @@ tab_bar_style slant # BEGIN_KITTY_THEME -# Apprentice +# Catppuccin-Mocha include current-theme.conf # END_KITTY_THEME diff --git a/taskrc b/taskrc deleted file mode 100644 index ffa608da..00000000 --- a/taskrc +++ /dev/null @@ -1,31 +0,0 @@ -# [Created by task 2.5.3 7/24/2021 12:13:27] -# Taskwarrior program configuration file. -# For more documentation, see http://taskwarrior.org or try 'man task', 'man task-color', -# 'man task-sync' or 'man taskrc' - -# Here is an example of entries that use the default, override and blank values -# variable=foo -- By specifying a value, this overrides the default -# variable= -- By specifying no value, this means no default -# #variable=foo -- By commenting out the line, or deleting it, this uses the default - -# Use the command 'task show' to see all defaults and overrides - -# Files -data.location=~/.task - -# Color theme (uncomment one to use) -#include /usr/share/doc/task/rc/light-16.theme -#include /usr/share/doc/task/rc/light-256.theme -#include /usr/share/doc/task/rc/dark-16.theme -#include /usr/share/doc/task/rc/dark-256.theme -#include /usr/share/doc/task/rc/dark-red-256.theme -#include /usr/share/doc/task/rc/dark-green-256.theme -#include /usr/share/doc/task/rc/dark-blue-256.theme -#include /usr/share/doc/task/rc/dark-violets-256.theme -#include /usr/share/doc/task/rc/dark-yellow-green.theme -#include /usr/share/doc/task/rc/dark-gray-256.theme -#include /usr/share/doc/task/rc/dark-gray-blue-256.theme -#include /usr/share/doc/task/rc/solarized-dark-256.theme -#include /usr/share/doc/task/rc/solarized-light-256.theme -#include /usr/share/doc/task/rc/no-color.theme -