Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
O
oh-my-fish
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
oh-my-fish
Commits
4d628d5f
Commit
4d628d5f
authored
Aug 26, 2015
by
Bruno
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #510 from ohspite/deprecation-warning
Only show deprecation warnings when omf is loaded.
parents
0f553bb7
3a3daa06
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
9 deletions
+19
-9
oh-my-fish.fish
oh-my-fish.fish
+19
-9
No files found.
oh-my-fish.fish
View file @
4d628d5f
...
...
@@ -9,16 +9,26 @@ if not contains $fish_path/functions/ $fish_function_path
set fish_function_path $fish_path/functions/ $fish_function_path
end
if set -q fish_plugins
set_color red
echo '$fish_plugins usage has been deprecated. Please see https://asciinema.org/a/20802.'
set_color normal
end
if not set -q __omf_loaded
if set -q fish_plugins
set_color red
echo '$fish_plugins usage has been deprecated; please use the \'Plugin\' command.'
set_color normal
end
if set -q fish_theme
set_color red
echo '$fish_theme usage has been deprecated; please use the \'Theme\' command.'
set_color normal
end
if set -q fish_plugins; or set -q fish_theme
set_color yellow
echo 'See https://asciinema.org/a/20802 for info on updating config.fish.'
set_color normal
end
if set -q fish_theme
set_color red
echo '$fish_theme usage has been deprecated. Please see https://asciinema.org/a/20802.'
set_color normal
set -g __omf_loaded "true"
end
# Add imported plugins, completions and themes. Customize imported
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment