shell: add cargo bin folder to PATH
This commit is contained in:
parent
b83d60c5e0
commit
34362420ce
1 changed files with 2 additions and 0 deletions
|
@ -42,6 +42,8 @@ export ZLE_RPROMPT_INDENT=0
|
||||||
# Move zinit to where it should go
|
# Move zinit to where it should go
|
||||||
export ZINIT_HOME_DIR="${XDG_DATA_HOME:-$HOME/.local/share}/zinit"
|
export ZINIT_HOME_DIR="${XDG_DATA_HOME:-$HOME/.local/share}/zinit"
|
||||||
|
|
||||||
|
# Add cargo to PATH if it exists
|
||||||
|
[ -f "$HOME/.cargo/bin" ] && export PATH="$HOME/.cargo/bin:$PATH"
|
||||||
|
|
||||||
# Set documents directory (auto set to the repo the file ~/todo points to is in)
|
# Set documents directory (auto set to the repo the file ~/todo points to is in)
|
||||||
if [ -h ~/todo ] && command -v git > /dev/null; then
|
if [ -h ~/todo ] && command -v git > /dev/null; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue