T
This commit is contained in:
parent
1612aa05b4
commit
26d74cb5e2
|
@ -16,7 +16,7 @@ HISTFILE="$HOME/.cache/shell_history"
|
||||||
alias cp="cp -i --reflink=auto"
|
alias cp="cp -i --reflink=auto"
|
||||||
alias grep="grep --color=tty"
|
alias grep="grep --color=tty"
|
||||||
alias dd='dd status=progress'
|
alias dd='dd status=progress'
|
||||||
alias rm='rm -Iv --one-file-system'
|
alias rm='rm -v --one-file-system'
|
||||||
alias free='free -m'
|
alias free='free -m'
|
||||||
alias dmesg='dmesg --ctime'
|
alias dmesg='dmesg --ctime'
|
||||||
alias wget='wget --hsts-file $HOME/.cache/wget-hsts'
|
alias wget='wget --hsts-file $HOME/.cache/wget-hsts'
|
||||||
|
|
|
@ -35,7 +35,6 @@ plugin zsh-users zsh-autosuggestions
|
||||||
plugin zsh-users zsh-history-substring-search
|
plugin zsh-users zsh-history-substring-search
|
||||||
antigen apply
|
antigen apply
|
||||||
|
|
||||||
|
|
||||||
# Prompt customization
|
# Prompt customization
|
||||||
zmodload zsh/datetime
|
zmodload zsh/datetime
|
||||||
|
|
||||||
|
@ -52,6 +51,7 @@ function powerline_precmd() {
|
||||||
__DURATION="$(($__ERT - ${__TIMER:-__ERT}))"
|
__DURATION="$(($__ERT - ${__TIMER:-__ERT}))"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo -en "\033]; ${USER}@${HOST} $PWD\007"
|
||||||
# echo -en "… $\r"
|
# echo -en "… $\r"
|
||||||
eval "$(powerline-go -shell zsh -eval -duration $__DURATION -error $__ERRCODE "${POWERLINE_GO_DEFAULT_OPTS[@]}")"
|
eval "$(powerline-go -shell zsh -eval -duration $__DURATION -error $__ERRCODE "${POWERLINE_GO_DEFAULT_OPTS[@]}")"
|
||||||
unset __TIMER
|
unset __TIMER
|
||||||
|
|
|
@ -4,4 +4,4 @@ Description=Taskwarrior synchronisation
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/usr/bin/task sync
|
ExecStart=/usr/bin/task sync
|
||||||
EnvironmentFile=-/home/geoffrey/config/task/env
|
EnvironmentFile=-%h/.config/task/env
|
||||||
|
|
Loading…
Reference in a new issue