mirror of
https://github.com/denisidoro/navi
synced 2024-11-21 19:13:07 +00:00
Trim current process
This commit is contained in:
parent
2bf4165e56
commit
9186d7bb7c
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
function _navi_smart_replace
|
||||
set -l current_process (commandline -p)
|
||||
set -l current_process (commandline -p | string trim)
|
||||
|
||||
if test $current_process = ""
|
||||
commandline -p (navi --print)
|
||||
|
|
Loading…
Reference in a new issue