Skip to content

Commit

Permalink
Merge pull request #68 from ammgws/patch-1
Browse files Browse the repository at this point in the history
Use fish built-in instead of sed
  • Loading branch information
franciscolourenco authored Feb 29, 2020
2 parents ce59452 + f2d94d8 commit a8afb42
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 a8afb42

Please # to comment.