T
Termux4mo ago
Shadowy

making alisas

alias ytdla='/data/data/com.termux/files/home/.shortcuts/yt_download.sh' i pasted this on my .bashrc or .zshrc but i am anable to use the alisas, when i source .zshrc i can use the alias but the termux always forget when i close termux? any help?
Solution:
you're supposed to put in .bashrc if you're using bash as your shell
Jump to solution
11 Replies
Solution
komo
komo4mo ago
you're supposed to put in .bashrc if you're using bash as your shell
Shadowy
ShadowyOP4mo ago
i also put in on .bashrc before i put it on .zshrc
komo
komo4mo ago
can you do alias ytdla and send the output to here?
Shadowy
ShadowyOP4mo ago
i need to type alias as well? alias: ytdla: not found Created by pipx on 2024-08-15 18:46:46 export PATH="$PATH:/data/data/com.termux/files/home/.local/bin alias ytdla="/data/data/com.termux/files/home/.shortcuts/yt_download.sh" this is my bash rc bash: .bashrc: line 5: unexpected EOF while looking for matching `"' when i source .bashrc it was due to quotation marks (") it should use single (') instead
Dr. Jaska
Dr. Jaska4mo ago
@Shadowy are you using zsh or bash?
Shadowy
ShadowyOP4mo ago
bash
nhknyugn
nhknyugn4mo ago
Tip: Use $HOME variable
Dr. Jaska
Dr. Jaska4mo ago
You should not use any zsh startup files then like .zshrc
Shadowy
ShadowyOP4mo ago
my termux just broke, i cant even do ls command i edited the quotation marks from this " to this ' and it ended up destroying my termux
Shadowy
ShadowyOP4mo ago
thanks a lot the variable $PATH was autowritten. it was already there.
Want results from more Discord servers?
Add your server