Open tyusha0 opened 4 months ago
Busybox seems to support it as it's working in SSH 🤔
Busybox seems to support it as it's working in SSH 🤔
In SSH work ash -l
, this works in the terminal too
https://xdaforums.com/t/is-it-possible-to-do-aliases-with-busybox.521770/
Great so you have a solution :) What are you planning to do with alias ?
/etc/profile is set to these aliases:
[ -x /bin/more ] || alias more=less
[ -x /usr/bin/vim ] && alias vi=vim || alias vim=vi
[ -x /bin/ll ] || alias ll='ls -al'
and PATH:
export PATH="/usr/sbin:/usr/bin:/sbin:/bin"
but I would add a couple more cuts in ~/.profile
alias cls='clear'
alias la='ls -a'
alias ll='ls -alFh'
alias htop='LD_LIBRARY_PATH="/mnt/SDCARD/System/lib" /mnt/SDCARD/System/bin/htop'
Is this possible? I tried different options, but busybox doesn't seem to allow it.