mirror of
https://github.com/IlanCosman/tide.git
synced 2024-12-23 20:13:05 +03:00
Minor edits
This commit is contained in:
parent
318bfeca54
commit
2d86c98542
4
.github/ISSUE_TEMPLATE/bug_report.md
vendored
4
.github/ISSUE_TEMPLATE/bug_report.md
vendored
@ -29,9 +29,9 @@ assignees: ""
|
||||
- Operating System: <!-- e.g. Ubuntu 20.04 -->
|
||||
- Output of `tide bug-report`: <!-- In the code block below -->
|
||||
|
||||
```console
|
||||
```console
|
||||
|
||||
```
|
||||
```
|
||||
|
||||
#### Additional context
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
function _tide_count_left_prompt_height --on-variable tide_left_prompt_items
|
||||
set -l numberOfNewlines (count (string match --all 'newline' $tide_left_prompt_items))
|
||||
set -l numberOfNewlines (string match --all 'newline' $tide_left_prompt_items | count)
|
||||
set -g _tide_left_prompt_height (math 1+$numberOfNewlines)
|
||||
end
|
@ -47,7 +47,7 @@ function _tide_detect_os_linux_cases -a name
|
||||
case '*'
|
||||
return 1
|
||||
end
|
||||
return 0 # If we didn't run into the catch case '*', then return succesfull
|
||||
return 0 # If we didn't run into the catch case '*' return succesfull
|
||||
end
|
||||
|
||||
function _tide_detect_os_get_info -a file key
|
||||
|
@ -5,7 +5,7 @@ function _tide_item_nvm
|
||||
if string match --quiet --regex "^$NVM_DIR.*" $nodePath # If node path begins with nvm directory
|
||||
set_color $tide_nvm_color
|
||||
printf '%s' $tide_nvm_icon' ' $nodeVersion
|
||||
else if test -n "$tide_nvm_default_node" -a "$tide_nvm_default_node" != "$nodeVersion"
|
||||
else if test -n "$tide_nvm_default_node" -a "$nodeVersion" != "$tide_nvm_default_node"
|
||||
set_color $tide_nvm_color
|
||||
printf '%s' $tide_nvm_icon' ' $nodeVersion
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user