Skip to content

Commit

Permalink
ditch rlwrap. user-specific rustup
Browse files Browse the repository at this point in the history
  • Loading branch information
rudxain committed Jun 14, 2024
1 parent 970af0b commit 84d6b01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
3 changes: 0 additions & 3 deletions .sh/aliases
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
#shellcheck disable=SC2139

alias reload='exec ${SHELL} -l'
alias sh='rlwrap -a sh'
alias dash='rlwrap -a dash'
alias bc='rlwrap -a bc'

alias paths='echo -e ${PATH//:/\\n}'

Expand Down
12 changes: 2 additions & 10 deletions .sh/path
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
#!/bin/sh
# Android
if [ -d /system/bin ]; then
PATH="$PATH:/system/bin"
fi
[ -d "$HOME/bin" ] && PATH="$HOME/bin:$PATH"

if [ -d "$HOME/bin" ]; then
PATH="$HOME/bin:$PATH"
fi
PATH="$PATH:$HOME/.local/bin"

# Rust
if [ -d "$HOME/.cargo/bin" ]; then
PATH="$PATH:$HOME/.cargo/bin"
fi
[ -f "$HOME/.cargo/env" ] && . "$HOME/.cargo/env"

export PATH

0 comments on commit 84d6b01

Please sign in to comment.