Skip to content

Commit

Permalink
Use fish built-in instead of sed
Browse files Browse the repository at this point in the history
  • Loading branch information
ammgws authored Jan 17, 2020
1 parent ce59452 commit f2d94d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conf.d/done.fish
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ if test -z "$SSH_CLIENT" # not over ssh
set -l humanized_duration (echo "$cmd_duration" | humanize_duration)

set -l title "Done in $humanized_duration"
set -l wd (pwd | sed "s,^$HOME,~,")
set -l wd (string replace --regex "^$HOME" "~" (pwd))
set -l message "$wd/ $history[1]"
set -l sender $__done_initial_window_id

Expand Down

0 comments on commit f2d94d8

Please # to comment.