mirror of
https://github.com/IlanCosman/tide.git
synced 2024-11-26 19:30:38 +03:00
17 lines
348 B
Fish
17 lines
348 B
Fish
# RUN: %fish %s
|
|
|
|
function _virtual_env
|
|
_tide_decolor (_tide_item_virtual_env)
|
|
end
|
|
|
|
set -lx tide_virtual_env_icon ''
|
|
|
|
set -lx VIRTUAL_ENV
|
|
_virtual_env # CHECK:
|
|
|
|
set -lx VIRTUAL_ENV ~/python_project/non-generic-name
|
|
_virtual_env # CHECK: non-generic-name
|
|
|
|
set -lx VIRTUAL_ENV ~/python_project/venv
|
|
_virtual_env # CHECK: python_project
|