Geoffrey Frogeye 3 years ago
parent
commit
26d74cb5e2
  1. 2
      config/shell/commonrc
  2. 2
      config/shell/zshrc
  3. 2
      config/systemd/user/tasksync.service

2
config/shell/commonrc

@ -16,7 +16,7 @@ HISTFILE="$HOME/.cache/shell_history"
alias cp="cp -i --reflink=auto"
alias grep="grep --color=tty"
alias dd='dd status=progress'
alias rm='rm -Iv --one-file-system'
alias rm='rm -v --one-file-system'
alias free='free -m'
alias dmesg='dmesg --ctime'
alias wget='wget --hsts-file $HOME/.cache/wget-hsts'

2
config/shell/zshrc

@ -35,7 +35,6 @@ plugin zsh-users zsh-autosuggestions
plugin zsh-users zsh-history-substring-search
antigen apply
# Prompt customization
zmodload zsh/datetime
@ -52,6 +51,7 @@ function powerline_precmd() {
__DURATION="$(($__ERT - ${__TIMER:-__ERT}))"
fi
echo -en "\033]; ${USER}@${HOST} $PWD\007"
# echo -en "… $\r"
eval "$(powerline-go -shell zsh -eval -duration $__DURATION -error $__ERRCODE "${POWERLINE_GO_DEFAULT_OPTS[@]}")"
unset __TIMER

2
config/systemd/user/tasksync.service

@ -4,4 +4,4 @@ Description=Taskwarrior synchronisation
[Service]
Type=oneshot
ExecStart=/usr/bin/task sync
EnvironmentFile=-/home/geoffrey/config/task/env
EnvironmentFile=-%h/.config/task/env
Loading…
Cancel
Save