Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve shell profile #3447

Merged
merged 18 commits into from
Mar 3, 2023
Merged

improve shell profile #3447

merged 18 commits into from
Mar 3, 2023

Conversation

waruqi
Copy link
Member

@waruqi waruqi commented Mar 2, 2023

@waruqi waruqi added this to the v2.7.8 milestone Mar 2, 2023
@waruqi waruqi marked this pull request as ready for review March 2, 2023 16:08
@waruqi waruqi requested a review from xq114 March 2, 2023 16:08
@waruqi waruqi force-pushed the profile branch 3 times, most recently from 0f1254d to 751fdb0 Compare March 3, 2023 05:21
@waruqi waruqi merged commit 0973396 into dev Mar 3, 2023
@waruqi waruqi deleted the profile branch March 3, 2023 06:21
@xq114
Copy link
Contributor

xq114 commented Mar 3, 2023

fish-shell/fish-shell#374 这里说fish会定义FISH_VERSION环境变量,可以用这个来检测fish环境

@waruqi
Copy link
Member Author

waruqi commented Mar 3, 2023

fish-shell/fish-shell#374 这里说fish会定义FISH_VERSION环境变量,可以用这个来检测fish环境

已经加了,不过这个不是环境变量,是fish内置变量

只能在 fish 脚本里判断,在子进程里面 无法作为环境变量判断

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants