Trim current process

This commit is contained in:
Kid 2022-01-16 18:37:46 +08:00 committed by GitHub
parent 2bf4165e56
commit 9186d7bb7c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
function _navi_smart_replace function _navi_smart_replace
set -l current_process (commandline -p) set -l current_process (commandline -p | string trim)
if test $current_process = "" if test $current_process = ""
commandline -p (navi --print) commandline -p (navi --print)