mirror of
https://github.com/status-im/cabot.git
synced 2025-02-24 10:28:06 +00:00
Merge pull request #19 from jirutka/fish
Add bin/activate.fish for Fish Shell
This commit is contained in:
commit
508b6f42c0
10
bin/activate.fish
Normal file
10
bin/activate.fish
Normal file
@ -0,0 +1,10 @@
|
||||
# fix broken locale
|
||||
if not python -c 'import locale; locale.getdefaultlocale();' >/dev/null ^&1
|
||||
set -gx LANG en_US.UTF-8
|
||||
set -gx LC_ALL en_US.UTF-8
|
||||
end
|
||||
|
||||
# set paths
|
||||
set DIR (dirname (status -f))
|
||||
set -gx PATH $PATH $DIR/../bin $DIR/../app
|
||||
set -gx PYTHONPATH $PYTHONPATH $DIR/../app
|
Loading…
x
Reference in New Issue
Block a user