mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-02-22 11:55:42 +08:00
12 lines
247 B
Fish
12 lines
247 B
Fish
![]() |
function omf.reload -d "Reload fish process via exec, keeping some context"
|
||
|
set -q CI; and return 0
|
||
|
|
||
|
history --save
|
||
|
set -gx dirprev $dirprev
|
||
|
set -gx dirnext $dirnext
|
||
|
set -gx dirstack $dirstack
|
||
|
set -gx fish_greeting ''
|
||
|
|
||
|
exec fish
|
||
|
end
|