oh-my-fish/lib/refresh.fish
Bruno Pinto 319c8a05cd Don't overwrite function on test environment
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.
2015-10-02 23:50:18 +01:00

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