Commit Graph

10 Commits

Author SHA1 Message Date
Hans Larsen
ad34c47f09 Fail when files arg is empty, and stop on root 2022-01-31 10:44:28 -08:00
Hans Larsen
cee1edb460 Fix find_file_up to accept multiple args 2022-01-30 10:54:42 -08:00
Hans Larsen
ca9e78068a Show node version on yes for files and always for always
This breaks the previous behaviour where yes would always show it,
regardless of the directory.
2022-01-21 11:08:04 -08:00
Hans Larsen
6d817d97b8 Optimization and allow find_file to receive regex
Renamed the find_file function to find_file_up_re to better describe
the behaviour.
2022-01-21 11:04:23 -08:00
Hans Larsen
7b195eb646 Add more options to conditionally show node version 2021-11-29 21:48:04 -08:00
Justin Hileman
332f23abd7 Use more portable uname -n rather than hostname.
Fixes #312
2021-11-05 10:16:55 -04:00
Nathan Gilbert
626bd39b00 update check for nvm to allow for functions 2021-01-27 19:51:15 -08:00
Justin Hileman
27c4df467d Minor code style cleanup. 2021-01-24 14:25:02 -08:00
Wes Baker
af5aac28c4
Add FNM as an alternative to NVM (#292)
* Add FNM as an alternative to NVM
* Made the __bobthefish_prompt_nvm generic for nvm and fnm
* Hide errors on node_manager current
* Check for color_nvm and set color_node based on that
2021-01-24 14:14:30 -08:00
Nathan Gilbert
954fbc961b
move files to support fisher plugin standards (#293) 2021-01-23 10:47:21 -08:00