mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-26 02:09:50 +08:00
319c8a05cd
Instead of overwriting functions that use `exec fish` on test environment, skip this call if the variable `CI` has been defined on the running shell.
10 lines
172 B
Fish
10 lines
172 B
Fish
# SYNOPSIS
|
|
# refresh
|
|
#
|
|
# OVERVIEW
|
|
# Refresh (reload) the current fish session.
|
|
|
|
function refresh -d "refresh the fish session"
|
|
set -q CI; or exec fish < /dev/tty
|
|
end
|