- 0 Posts
- 11 Comments
My bash prompt is just me copying the prompt I have set on fish.
# Prompt green=$'\e[38;5;2m' bright_red=$'\e[38;5;9m' bright_green=$'\e[38;5;10m' reset=$'\e[0m' prompt_command() { local exit_status=$? if [[ $exit_status != 0 ]]; then exit_color=$bright_red exit_prompt=" [$exit_status]" else exit_color=$bright_green exit_prompt="" fi } PROMPT_COMMAND=prompt_command PS1='\[$green\]\w\[$exit_color\]$exit_prompt\n❯ \[$reset\]'
I have a small issue with this prompt though. Sometimes the ❯ ends up turning white for some reason.
Asparagus0098@sh.itjust.worksto Linux@lemmy.ml•A big part of learning Linux is screwing up computers and starting over.English1·1 month agoI haven’t had any issues with the kernel yet. The worst thing that I can remember doing is messing up the systemd boot entry on my Arch Linux install.
Asparagus0098@sh.itjust.worksto Linux@lemmy.ml•Was anybody else just burned by the Tor Browser flatpak?English2·2 months agoYeah. I just found out about it by accident when I ran it with the
--help
flag.
Asparagus0098@sh.itjust.worksto Linux@lemmy.ml•Was anybody else just burned by the Tor Browser flatpak?English5·2 months agoI’d like to add that you can setup desktop shortcuts pretty easily for Mullvad and TOR browser manual installs. For TOR browser simply run this after opening a terminal in the folder it was extracted to:
./start-tor-browser.desktop --register-app
Same thing should work for mullvad.
Asparagus0098@sh.itjust.worksto Linux@lemmy.ml•Understanding Unix filesystem timestampsEnglish2·2 months agoIt is the default
atime
option used when mounting if I’m correct. If it’s an ubuntu specific mount option it will be specified in/etc/fstab
file.
Asparagus0098@sh.itjust.worksto Linux@lemmy.ml•Understanding Unix filesystem timestampsEnglish5·2 months agoYou can run this to check
findmnt --real
Asparagus0098@sh.itjust.worksto Linux@lemmy.ml•The benefits of using scripts over aliasesEnglish3·2 months agoI actually use both in fish. I use aliases for some longer commands. For example I have
la
as an alias foreza -la --icons=auto --group-directories-first
because I don’t really want to see it every time I runla
. I use abbreviations for some shorter commands. For examplesystemctl
abbreviated tosys
andsystemctl --user
abbreviated tosysu
.
Asparagus0098@sh.itjust.worksto Linux@lemmy.ml•Which browser do you use and why?English5·2 months agoI use Firefox as my main browser. I use the multi-account containers extension in Firefox to seperate my browsing activities. Brave is installed as a backup in case firefox fails me. I use TOR browser for searching for stuff that I don’t want linked to me.
Asparagus0098@sh.itjust.worksto Arch Linux@lemmy.ml•[Solved] Implications of removing make dependencies after install with yayEnglish3·3 months agoI’m going to guess that the make dependencies are installed explicitly and not as a dependency. You can check the if they are explicitly installed or not with the output from
pacman -Qi packagename
iirc. If it doesn’t work then trypacman -Qii packagename
.So does yay and/or pacman know that the things I am installing don’t actually depend on the make dependencies?
I’m pretty sure make dependencies aren’t considered dependencies of the package you are installing.
GamingOnLinux
This Week in Plasma
This Week in KDE Apps
Fedora Magazine