Commit Graph

4 Commits

Author SHA1 Message Date
Sergey Slipchenko
05c0765c4e Use status current-command for title
Why:

1. `$_` is marked as deprecated
  https://fishshell.com/docs/current/language.html#envvar-_
2. `$_` contains wrong process name in cases like this one:

  ```fish
  sleep 1000 # `sleep` is the process, now press Ctrl-Z to suspend
  fg # unsuspend it, now `fg` is shown as the process
  ```

  `status current-command` will show `sleep` instead, which makes more
  sense.
2023-12-18 18:42:13 -05:00
Justin Hileman
76cac81206 Don't overwrite $hostname
Fixes #339
2023-03-26 10:22:17 -04:00
Justin Hileman
332f23abd7 Use more portable uname -n rather than hostname.
Fixes #312
2021-11-05 10:16:55 -04:00
Nathan Gilbert
954fbc961b
move files to support fisher plugin standards (#293) 2021-01-23 10:47:21 -08:00