Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
awit-zsh-superawesome
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
allworldit
awit-zsh-superawesome
Commits
7aca0bcf
Commit
7aca0bcf
authored
5 years ago
by
Nigel Kukard
Browse files
Options
Downloads
Plain Diff
Merge branch 'cleanup-bin' into 'master'
We no longer support ~/bin See merge request
!11
parents
6c0223b3
d775b718
No related branches found
Branches containing commit
Tags
v0.1.6
Tags containing commit
1 merge request
!11
We no longer support ~/bin
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
zshrc.d/10-home-bin.zsh
+7
-11
7 additions, 11 deletions
zshrc.d/10-home-bin.zsh
with
7 additions
and
11 deletions
zshrc.d/10-home-bin.zsh
+
7
−
11
View file @
7aca0bcf
# Override first bin directory
# Depending on your distro, your ~/.profile may already be providing
# this information
if
[
-d
"
$HOME
/bin"
]
if
[
-d
"
$HOME
/.local/bin"
]
then
if
!
[
"
$PATH
"
=
~
"
$HOME
/bin"
]
if
!
[
[
"
$PATH
"
=
~
"
$HOME
/
.local/
bin"
]
]
then
export
PATH
=
"
$HOME
/bin:
$PATH
"
export
PATH
=
"
$HOME
/
.local/
bin:
$PATH
"
fi
fi
else
# We should never need this, but just in case
mkdir
-p
"
$HOME
/.local/bin"
if
[
-d
"
$HOME
/.local/bin"
]
then
if
!
[
"
$PATH
"
=
~
"
$HOME
/.local/bin"
]]
if
!
[[
"
$PATH
"
=
~
"
$HOME
/.local/bin"
]]
then
export
PATH
=
"
$HOME
/.local/bin:
$PATH
"
fi
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment