env: fix cargo bin folder
This commit is contained in:
parent
780265daa5
commit
e8fdc9fecd
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ export ZLE_RPROMPT_INDENT=0
|
||||||
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
|
# Add cargo to PATH if it exists
|
||||||
[ -f "$HOME/.cargo/bin" ] && export PATH="$HOME/.cargo/bin:$PATH"
|
[ -d "$HOME/.cargo/bin" ] && export PATH="$PATH:$HOME/.cargo/bin"
|
||||||
|
|
||||||
# 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