Is this the computer nerd version of what's in my purse?
@LukeSmithxyz
5 жыл бұрын
You're thinking of EDC.
@p_serdiuk
5 жыл бұрын
@@LukeSmithxyz Every Day Computing.
@alexisalaric6941
3 жыл бұрын
@August Nicholas I watch on Flixzone. You can find it on google :)
@alexisalaric6941
3 жыл бұрын
@August Nicholas glad I could help =)
@sbarrett005 жыл бұрын
Hey Luke, I really appreciate how you target these videos to everyone from beginners to advanced users. Your videos are very approachable and I always learn something new.
@showyouathingortwo5 жыл бұрын
Happy birthday luke
@peterjansen4826
5 жыл бұрын
I didn't know about that. I hope you have got a good day, Luke.
@marcussVRLinux5 жыл бұрын
For those who are wondering: /etc = Et cetera (latin for "and the rest") - so "etsy" would be a correct pronounciation /usr = UNIX System Resources (and not "user"... that's what your home directory is for)
@vison360
5 жыл бұрын
isn't /etc => edit to configure?
@marcussVRLinux
5 жыл бұрын
@@vison360 Dennis Ritchie, the inventor of Unix itself, confirmed it to be et cetera (etc)
@DizzyCsango
5 жыл бұрын
You’re assuming the Romans spoke Latin the way G̶e̶o̶r̶g̶e̶ ̶W̶ ̶B̶u̶s̶h̶ an American speaks Spanish. In that case ‘et cetera’ would be pronounced et seetuhray. Thing is, nobody really knows how the Romans pronounced their Latin (liturgical Latin b.t.w. Is not the same), although it’s generally assumed the c would have been hard (like in cat); e.g kaisar (caesar). But hey, since nobody really knows I guess anything goes eh...
@user-tu5sk5km3l
5 жыл бұрын
you blew my mind with /usr
@qillerdaemon9331
5 жыл бұрын
No, /usr really meant user home directories and user resources in original old UNIX Sys3 and SysV file systems, it is short for "user" as it was the directory of users. Only later did /home or /users become the default directory for user home directories. I dealt in SysV on a 3B2/600 and early Xenix systems before Linus ever did his thing, they all defaulted to /usr for user home directories.
@silasandrews76555 жыл бұрын
17:53 Run this and see what happens Famous last words
@tttakkkumi
Ай бұрын
What does ir do
@AdmiralMaur4 жыл бұрын
Loving the nonchalant way you explained the starwars alias :)
@dimav235 жыл бұрын
Luke, recommend to try bat. And a tip for your alias: try to figur out how to antialias a command after hit space like in zsh. Its better for your history 🤓
@lawrencedoliveiro91045 жыл бұрын
0:56 Just a note that bashrc is only automatically invoked by non-login shells, so it’s either-or: either the new shell will run the profile, or the rc, not both. I find this annoying, so the best thing perhaps is to have the profile do little or nothing apart from automatically sourcing the rc, so you get the same definitions available either way.
@hegjon5 жыл бұрын
Thanks, btw for highlighting this works with files like .bashrc: alias pcat='pygmentize -f terminal -O style=native -g'
@thedanmethenyshow.60043 жыл бұрын
I'm glad I decided to watch this video. I've talked about it a couple of videos back but this gives me some great ideas for things.
@integralyogin5 жыл бұрын
was surprised to see such a small .bashrc, I really thought it was going to be +1000 lines. I have a terrible memory so I prefer having all my favorite aliases in there and then just running a search bash alias [sb] if I forget.
@dhiegov
5 жыл бұрын
He has a separate .shortcuts for cd'ing, mv'ing and cp'ing to dirs, maybe that's why the main one is so short
@Yaxqb5 жыл бұрын
Pretty much all of the aesthetic hacks in his bashrc is built into fish shell. U get some really sexy command completion there as well by default. I don't think I've tweaked my fish config one line other than the login script and color scheme, which really speaks for the sensible defaults that fish has
@superspectator1235 жыл бұрын
I took two nice aliases from this video. Thank you.
@valentjedi5 жыл бұрын
Carpenter Brut confirmed
@TzLTriiCkzZ5 жыл бұрын
Not watched this video fully yet but one of the main reasons I use oh-my-zsh is so I can use the arrow blocky things that are in some of the themes. And I changed it so that if I'm root then it changes the background color of a couple of different blocks. One thing I'm not a huge fan of about The omz is because I have a lot of the additional blocks. There's is a delay when it builds the PS1. Also I have battery life information on there because it builds the PS1 after each command if I haven't run a command in a while it will show the wrong batter information.
@katzda4 жыл бұрын
Oh wow, i'm learning so much.. But i'll have to rewatch one day but its very useful :-)
@ChillerDragon4 жыл бұрын
7:50 haha nice! I got confused so many times when running sudo commands because it used /root
@lemurza52365 жыл бұрын
Do you have a list of all your recommended daily programs you use in the terminal?
@albu2b13 жыл бұрын
I cannot thank you enough although still tied to awesome instead of dwm but tthanks a million really appreciate what you doing
@connie_d5 жыл бұрын
Love this vid. Why is your scripts directory hidden?
@desktorp5 жыл бұрын
referring to /etc as etsy really triggers me
@ltxr9973
5 жыл бұрын
And I can't stop saying it like that since i've heard it the first time
@LukeSmithxyz
5 жыл бұрын
Yeah I have no clue why people pronounce it like that, but I eventually gave in.
@8-bit513
5 жыл бұрын
#metoo
@ionlyplaynude
5 жыл бұрын
is it short for "et cetera" or does it mean something else?
@desktorp
5 жыл бұрын
@burbon /usr does actually mean 'user' though
@igneous_flock5 жыл бұрын
Regarding your syntax highlighting, you should checkout sharkdp's bat. It's a clone of cat that implements syntax highlighting as well as git diffs. It's written in rust.
@rhwinner2 жыл бұрын
Very helpful. Keep 'em coming! :0
@Marcosvinicius-im2jt5 жыл бұрын
About the root home i think that when you need to recovery your system using runlevel 1 your home is gone.
@lawrencedoliveiro91045 жыл бұрын
2:48 Why is your personal scripts folder hidden (having a name beginning with a dot)?
@Stevos-Corner5 жыл бұрын
Hi Luke was wondering if your still running Void Linux on one of your laptops. I watched your video on it and was thinking of giving it a try. I'm a long time Gentoo user who switched to Arch about a year ago and wanted to try something else without systemd.
@code88603 жыл бұрын
What is the notifications program are you using? Thanks!
@jerodburnett64225 жыл бұрын
"some kshrc recommendations and what I use" video coming soon
@hanspetervollhorst15 жыл бұрын
Does it not bring trouble using /home/luke as home directory for root? If you create files, they are owned by root:root which you cannot conveniently move/ delete without another step. Or do you have a smart workaround for that?
@lawrencedoliveiro91045 жыл бұрын
6:08 zsh is the default shell in SystemRescueCD, and I discovered that it has one irritating habit: stripping off the trailing ”/” from a directory name *after you have typed it.* This causes problems when trying to do an rsync, since the behaviour is slightly different depending on whether the source directory ends with a “/” or not.
@Mankepanke
5 жыл бұрын
Then you probably turned that option on without realizing when you copied someone's ZSH config. (Been there, done that) I use ZSH and I don't have this issue. The closest would be that when autocompleteting it will render a trailing slash that isn't there and is removed of you press space or something rather than typing it out yourself first. But you said that you wrote it and it's still stripped off.
@lawrencedoliveiro9104
5 жыл бұрын
This was running straight off the SystemRescueCD image, so I couldn’t have set any options if I wanted to.
@Mankepanke
5 жыл бұрын
Wow, that is weird. I wonder if the distro changed options in /etc.
@StrangeIndeed3 жыл бұрын
15:26 TIL that you can use youtube-dl to download all of the channel's video's in a single command
@prakash.vishwakarma4 жыл бұрын
What shortcut do you use to increase font size on the go? I meant to ask this in reference to LARBS.
@baikerolomero544
4 жыл бұрын
Try Control and + on the numeric keypad
@earjack46105 жыл бұрын
why do you have the awk toupper thing in your bashrc? you could probably just use ${variable^^} to get an uppercase version of whatevr is in the var
@jlaviews5 жыл бұрын
what keyboard do you use? is it mech?
@pierresmith3 жыл бұрын
Hi. Just checking your video now (From France !!) and I'm interested in your .profile file. Do you ahev a git with it ? Can you source things that are common to all the shells ? (like aliases, exports, prompts ?)
@niclasa31355 жыл бұрын
Great video, and thanks for sharing it with us. Do your dotfiles work for Ubuntu or only Arch Linux?
@dhiegov
5 жыл бұрын
Yes, as long as 1. the two distros use the same commands to be aliased: for example, in Ubuntu the install command is `sudo apt-get install`, in Arch is something like `sudo pacman -S[something else I don't know because I don't use Arch] 2. and also the same config configuration in things different distros can have different, like use /sbin to separate super user binaries or just /bin for every binary (probably they won't change THIS, but some other maybe confusing scheme in these not-children-of-home folders). But this should be counter-compatible as long as you're not messing (or even care) about this sort of folders
@tc403905 жыл бұрын
Luke I'm using your neomutt wizard and whenever gnupg timesout I have to re enter my password manually each time to get a notification regarding new mails. Is there anyway to fix this behaviour?
@p_serdiuk5 жыл бұрын
You should be able to use su with your /home dotfiles. Here's the option: -m, -p, --preserve-environment Preserve the entire environment, i.e. it does not set HOME, SHELL, USER nor LOGNAME. This option is ignored if the option --login is specified.
@TheJustinist5 жыл бұрын
yay, new content video :)
@charliebrownau5 жыл бұрын
Will you be moving to GitLab from Hithub ?
@finnianquail8881
3 жыл бұрын
both suck lmao >gitlab is amazon trash >github is M$
@simonrose25 жыл бұрын
I'd recommend using 'sudo -E' for keeping the environment, instead of this /etc/passwd hack. (Or 'sudoedit file' instead of ' sudo vim file')
@MuhammadbinYusrat4 жыл бұрын
Hi, I am a Linux noob, I don't understand which type of terminal are you using? How do you quickly open new windows nicely docked in their place? Also these terminals seem to be borderless? How can I get these? Please tell me.
@PabloBianchiOK4 жыл бұрын
I'm pretty sure it was in this channel I learn about a useful command to watch a file/folder and do something else upon any change. I can't remember that command. I think it was three letters... Couldn't found on duckduckgo/apropos so far.
@alexortiz10a5 жыл бұрын
Hi Luke, Do you prefer bash or zsh? and can you explain the reason of you selection. Thank you!
@rexevan6714
5 жыл бұрын
I think back then he chose bash over zsh because bash comes as default.
@patrickprucha55228 ай бұрын
agree with you 1000% on the aliases!
@serotonin40115 жыл бұрын
What os do you use, i dont think i ask.
@chunchunmaru27604 жыл бұрын
mfw the only thing I ever put in mine is cat for a text file with an ascii image.
@le0narbeit934 жыл бұрын
where i can get the ascii art ?
@DiersakZelesnik5 жыл бұрын
Is KZread-viewer just mps-youtube with a different name or is it a entirely different package?
@cesarbrun4216
5 жыл бұрын
it's different, check your package manager
@DonEdward4 жыл бұрын
I cant read the operand character in the ttymaps file. (And lukesmith.xyz doesnt seem to show bashrc anymore) Is it '=' or '-' ?
@TdTSimonBE5 жыл бұрын
Of course fish has real abbreviations instead of aliases, so you can edit the command on the fly. Another bash problem solved.
@vison360
5 жыл бұрын
Biggest advantage of fish is it's directory structure. You can create truly modular configs and symlink them with GNU Stow
@leotaku5216
5 жыл бұрын
Daniel Lewan: How is that not possible with bash/zsh?
@vison360
5 жыл бұрын
@@leotaku5216 of course you can, but you have it by default in Fish. Simply better design.
@djtaro6173
4 жыл бұрын
@@vison360 What is the value of that?
@oddbob62305 жыл бұрын
What does the "rc" stand for? Run crippled?
@alcesmir
5 жыл бұрын
I think it's runcom, for some obscure historical reasons. You might have some luck consulting the jargon file for this.
@oddbob6230
5 жыл бұрын
Really cool. Thanks.
@gz6616
5 жыл бұрын
rc -> really cool
@dmknght89465 жыл бұрын
alias back="cd $OLDPWD". i think it is useful :D
@CoreyTL
3 жыл бұрын
ik this is two years ago, but "cd .." exists
@brickcausingunexpired
3 жыл бұрын
@@CoreyTL hi! "cd .." goes to the parent directory, that's not always the previous one. "cd -" does it.
@serotonin40115 жыл бұрын
What os do you use
@timelesstrance37205 жыл бұрын
Oh, the implicit nature of gods and their BIG hard drives 6:56
@rishushrivastav45914 жыл бұрын
does anybody know what the text style is called in which the bashrc is written?
@hshiferaw5 жыл бұрын
wal theme name plz Luke :)
@pushqrdx2 жыл бұрын
and i thought you have the ctrl-s thing to fix incremental search :D
@G183954 жыл бұрын
Before this video I was creating a new shell script every time in /usr/bin instead of using alias. I'm a noob lol.
@naumanafsar30535 жыл бұрын
Does anyone know how he switches between the terminal? and how the terminal resize itself when he close one?
@petewest3122
5 жыл бұрын
Check out his i3 videos
@jeandelinux259
5 жыл бұрын
All the channel is about that
@naumanafsar3053
5 жыл бұрын
Thanks man, it's really cool!
@naumanafsar3053
5 жыл бұрын
I came here from a facebook post, and i am loving it! it's awesome!
@orochinagi43582 жыл бұрын
How do you tile windows like that?
@scotthamilton2284 жыл бұрын
Isn't the link to same profile hack a bad idea? It must be run several times at boot no?
@felaflame4 жыл бұрын
Hm, fictional phone-call, as during unsuccessful date :)
@finndriver10635 жыл бұрын
My favourite evil thing to put in someone's profile or bashrc is `yes >> .bashrc' It's not usually destructive, just quite funny, and it looks quite unassuming
@msodev5 жыл бұрын
Hi luke. I've been investigating for a couple of days now on how to make a usb from which i can simply plug it on to my Macbook and use arch linux as the OS but tutorials and the archwiki never really specify whether what they are showing is exactly what i want and I'm afraid of erasing my MacOS system. Im not a total begginner on linux but im just scared. To sum up, i Want a usb that contains a totally configured and working desktop enviroment to build my own custom rice :). Hope to hear from you soon, thanks
@dhiegov
5 жыл бұрын
What you are seeking is a `live distro` or `live medium`: one that you can boot and run normally from a USB drive. As far as I know, you can do that only by booting from your pendrive at start up, which you configure by pressing some function keys (f1-12) (varies depending on your computer manufacturer) on you computer start-up.
@rexevan67145 жыл бұрын
Luke senpai with the simplest line of code.
@tennisfreak3125 жыл бұрын
what terminal program is that
@MeanMisterMustard4 жыл бұрын
I alias 'pacget' to 'sudo pacman -S' and 'pacupgrade' to 'sudo pacman -Syyu'. And 'pacs' to 'pacman -Ss'. Does that make me a noob? I also know the actual commands. And how to navigate the man page quickly when necessary..
@viggolek4 жыл бұрын
can u turn off autocd in zsh?
@zs14555 жыл бұрын
Imagine not ignoring case for auto completion
@gehx5 жыл бұрын
The .bashrc on LukeSmithxyz/voidrice github is only 8 lines? What am I missing?
@yellowflashgaming9237
4 жыл бұрын
really .. icant get that too .. i think he changed
@dontyouhigh5 жыл бұрын
Instead of setting root's homedir to your user's homedir and instead of aliasing "sudo edit", use the command `sudoedit`, it runs your editor as your user and thus uses your .vimrc and then save it as root,
@Fabiuja3 жыл бұрын
From 7:55 why u say is not safe? That trick blow my mind i want to use it.
@jaygreentree43943 жыл бұрын
Great video but the keyboard clicking makes it difficult to hear.
@tubejim1012 жыл бұрын
If I make a change to my .bashrc. Can I just ~$./bashrc to reload it? Or do I have to logout and log back in?
@PraveenRai3 жыл бұрын
@Luke Smith Could you please share your bashrc config. i can see your deleted your old dotfile from your repro. if not mind could you lease share.
@izzettin15864 жыл бұрын
hi, my terminal is gone. all I can see is : "Last login: Tue May 5 08:29:01 on ttys007 [İşlem tamamlandı]". (it means "job completed") I was making sth about bash profile and trying to save sth, I think i did sth wrong and terminal is not responding now, whatever I push. how can I fix it. even apple doesnt know, I called them. how can I fix it. On the top, its written that " Terminal -- java_home --bash 80X24".. thank you..
@nicolasvillafan5 жыл бұрын
How do you get the name of the file displayed on top of your files?
@dhiegov
5 жыл бұрын
Could you please rephrase you question, please? I can't understand it well
@nicolasvillafan
5 жыл бұрын
@@dhiegov oh I am so sorry dhiego, I was talking about the letters on top of the basrc file that said bashrc with special characters.. and actually I figured it out. Thanks for responding anyways.
@dhiegov
5 жыл бұрын
@@nicolasvillafan ah! You original question makes sense now, hehe. You're welcome. How did you figured that out, thought?
@alkeryn17005 жыл бұрын
You should try zsh :P
@Discordianism
5 жыл бұрын
I just switched to fish yesterday. It's pretty cool.
@alkeryn1700
5 жыл бұрын
I tried fish but in the end i couldn't do few things i was doing on zsh, plus you can use plugins on zsh to have it like fish so i went back to zsh ^
@Discordianism
5 жыл бұрын
@@alkeryn1700 True. I tried fish when it came out a couple years back but I remember it being kinda funny. Seems much more stable now. I still haven't run into anything weird yet. Will chsh to default once I feel it's decent. Zsh is still default for now.
@alkeryn1700
5 жыл бұрын
@@Pichelinou Not my case, zsh have some great autocompletion and suggestions, help menus so you don't need to use -h on commands or read manuals most of the time Also you can have way more customed prompt and generally your zsh can behave exactly like you want it to
@engineerwolf3692
5 жыл бұрын
[Bash-it](github.com/Bash-it/bash-it) bridges the gap between zsh and bash quite nicely. I mean its not complete drop in replacement, but its quite close. I like bash because its everywhere. I can ssh into any of my servers and be sure bash will be there. not so much for zsh. And I don't like the idea of using one thing on local and another on remote.
@Deibi0782 жыл бұрын
Omg
@peterjansen48265 жыл бұрын
I thought that Luke runs Parabola (Arch-based) but he uses apt-get (Debian, Ubuntu)? Did he hop or did he install apt-get on his Parabola?
@crwmike0
5 жыл бұрын
He just entered those lines for reference, and then deleted those lines. He ran pacman earlier in the video.
@killistan2 жыл бұрын
my first concern about sharing the homedir as root, is perhaps ~/.scripts should not be in the PATH for root...
@KingZero695 жыл бұрын
the virgin bash user, and the chad zsh user...
@RudyHill5 жыл бұрын
where tf is the meme thumbnail?
@shady4tv5 жыл бұрын
On the topic of security giving your root user the same dot files as your main user is generally pretty insecure because if i can exploit your main user I can easily privesc using some code in the dot files. If root calls a shell for some reason (for example running a script in a cron job) it will execute whatever is in that dot file - which can be some nasty shit. you're probs OK since this is a home PC and not a server but just FYI.
@felipeporto27585 жыл бұрын
GUHNOO SLASH LINUHX
@ari_archer3 жыл бұрын
god, why such huge gaps
@JessicaFEREM5 жыл бұрын
inb4 1tb bashrc
@errrzarrr4 жыл бұрын
That call was scripted Luke, and that email too. We know you already
@eugenemorozov5 жыл бұрын
I prefer sudo -i to sudo su.
@aws963145 жыл бұрын
Since you mentioned highlight, have you ever tried bat. It is a replacement for cat written in Rust, but it is so much better. you can find it here: github.com/sharkdp/bat
@IrizarryBrandon5 жыл бұрын
You can, in /root, make symbolic links to your underprivileged-user configs, thus avoiding dealing with your editor's vanilla config whenever you sudo-edit a root-owned file.
@arnad19975 жыл бұрын
Damn i can't find his bashrc on his github
@superspectator123
5 жыл бұрын
ls -a
@palashahuja84804 жыл бұрын
stuff like that
@ryanafacation5 жыл бұрын
use eshell
@polar38493 жыл бұрын
11:33 line 27 a dog whistle? 🤔🤔🤔🤔🤔
@kainbre5 жыл бұрын
btw time stamp for bash history, just add this: HISTTIMEFORMAT='%F %T ' in .bashrc file. More here! sanctum.geek.nz/arabesque/better-bash-history/
@marcussmithwick63265 жыл бұрын
Yossss
@nalfmalf5 жыл бұрын
>recommends against making aliases for subcommands >has an alias for git
@AkamiChannel
4 жыл бұрын
That's for a command. A subcommand would be having an alias for "git status" etc. Which I totally have lots of anyway personally
@windowsrefund4 жыл бұрын
Luke, please for the love of UNIX, stop referring to "folders". They are "directories". Also, I love your stuff. Keep up the great work.
Пікірлер: 188
Is this the computer nerd version of what's in my purse?
@LukeSmithxyz
5 жыл бұрын
You're thinking of EDC.
@p_serdiuk
5 жыл бұрын
@@LukeSmithxyz Every Day Computing.
@alexisalaric6941
3 жыл бұрын
@August Nicholas I watch on Flixzone. You can find it on google :)
@alexisalaric6941
3 жыл бұрын
@August Nicholas glad I could help =)
Hey Luke, I really appreciate how you target these videos to everyone from beginners to advanced users. Your videos are very approachable and I always learn something new.
Happy birthday luke
@peterjansen4826
5 жыл бұрын
I didn't know about that. I hope you have got a good day, Luke.
For those who are wondering: /etc = Et cetera (latin for "and the rest") - so "etsy" would be a correct pronounciation /usr = UNIX System Resources (and not "user"... that's what your home directory is for)
@vison360
5 жыл бұрын
isn't /etc => edit to configure?
@marcussVRLinux
5 жыл бұрын
@@vison360 Dennis Ritchie, the inventor of Unix itself, confirmed it to be et cetera (etc)
@DizzyCsango
5 жыл бұрын
You’re assuming the Romans spoke Latin the way G̶e̶o̶r̶g̶e̶ ̶W̶ ̶B̶u̶s̶h̶ an American speaks Spanish. In that case ‘et cetera’ would be pronounced et seetuhray. Thing is, nobody really knows how the Romans pronounced their Latin (liturgical Latin b.t.w. Is not the same), although it’s generally assumed the c would have been hard (like in cat); e.g kaisar (caesar). But hey, since nobody really knows I guess anything goes eh...
@user-tu5sk5km3l
5 жыл бұрын
you blew my mind with /usr
@qillerdaemon9331
5 жыл бұрын
No, /usr really meant user home directories and user resources in original old UNIX Sys3 and SysV file systems, it is short for "user" as it was the directory of users. Only later did /home or /users become the default directory for user home directories. I dealt in SysV on a 3B2/600 and early Xenix systems before Linus ever did his thing, they all defaulted to /usr for user home directories.
17:53 Run this and see what happens Famous last words
@tttakkkumi
Ай бұрын
What does ir do
Loving the nonchalant way you explained the starwars alias :)
Luke, recommend to try bat. And a tip for your alias: try to figur out how to antialias a command after hit space like in zsh. Its better for your history 🤓
0:56 Just a note that bashrc is only automatically invoked by non-login shells, so it’s either-or: either the new shell will run the profile, or the rc, not both. I find this annoying, so the best thing perhaps is to have the profile do little or nothing apart from automatically sourcing the rc, so you get the same definitions available either way.
Thanks, btw for highlighting this works with files like .bashrc: alias pcat='pygmentize -f terminal -O style=native -g'
I'm glad I decided to watch this video. I've talked about it a couple of videos back but this gives me some great ideas for things.
was surprised to see such a small .bashrc, I really thought it was going to be +1000 lines. I have a terrible memory so I prefer having all my favorite aliases in there and then just running a search bash alias [sb] if I forget.
@dhiegov
5 жыл бұрын
He has a separate .shortcuts for cd'ing, mv'ing and cp'ing to dirs, maybe that's why the main one is so short
Pretty much all of the aesthetic hacks in his bashrc is built into fish shell. U get some really sexy command completion there as well by default. I don't think I've tweaked my fish config one line other than the login script and color scheme, which really speaks for the sensible defaults that fish has
I took two nice aliases from this video. Thank you.
Carpenter Brut confirmed
Not watched this video fully yet but one of the main reasons I use oh-my-zsh is so I can use the arrow blocky things that are in some of the themes. And I changed it so that if I'm root then it changes the background color of a couple of different blocks. One thing I'm not a huge fan of about The omz is because I have a lot of the additional blocks. There's is a delay when it builds the PS1. Also I have battery life information on there because it builds the PS1 after each command if I haven't run a command in a while it will show the wrong batter information.
Oh wow, i'm learning so much.. But i'll have to rewatch one day but its very useful :-)
7:50 haha nice! I got confused so many times when running sudo commands because it used /root
Do you have a list of all your recommended daily programs you use in the terminal?
I cannot thank you enough although still tied to awesome instead of dwm but tthanks a million really appreciate what you doing
Love this vid. Why is your scripts directory hidden?
referring to /etc as etsy really triggers me
@ltxr9973
5 жыл бұрын
And I can't stop saying it like that since i've heard it the first time
@LukeSmithxyz
5 жыл бұрын
Yeah I have no clue why people pronounce it like that, but I eventually gave in.
@8-bit513
5 жыл бұрын
#metoo
@ionlyplaynude
5 жыл бұрын
is it short for "et cetera" or does it mean something else?
@desktorp
5 жыл бұрын
@burbon /usr does actually mean 'user' though
Regarding your syntax highlighting, you should checkout sharkdp's bat. It's a clone of cat that implements syntax highlighting as well as git diffs. It's written in rust.
Very helpful. Keep 'em coming! :0
About the root home i think that when you need to recovery your system using runlevel 1 your home is gone.
2:48 Why is your personal scripts folder hidden (having a name beginning with a dot)?
Hi Luke was wondering if your still running Void Linux on one of your laptops. I watched your video on it and was thinking of giving it a try. I'm a long time Gentoo user who switched to Arch about a year ago and wanted to try something else without systemd.
What is the notifications program are you using? Thanks!
"some kshrc recommendations and what I use" video coming soon
Does it not bring trouble using /home/luke as home directory for root? If you create files, they are owned by root:root which you cannot conveniently move/ delete without another step. Or do you have a smart workaround for that?
6:08 zsh is the default shell in SystemRescueCD, and I discovered that it has one irritating habit: stripping off the trailing ”/” from a directory name *after you have typed it.* This causes problems when trying to do an rsync, since the behaviour is slightly different depending on whether the source directory ends with a “/” or not.
@Mankepanke
5 жыл бұрын
Then you probably turned that option on without realizing when you copied someone's ZSH config. (Been there, done that) I use ZSH and I don't have this issue. The closest would be that when autocompleteting it will render a trailing slash that isn't there and is removed of you press space or something rather than typing it out yourself first. But you said that you wrote it and it's still stripped off.
@lawrencedoliveiro9104
5 жыл бұрын
This was running straight off the SystemRescueCD image, so I couldn’t have set any options if I wanted to.
@Mankepanke
5 жыл бұрын
Wow, that is weird. I wonder if the distro changed options in /etc.
15:26 TIL that you can use youtube-dl to download all of the channel's video's in a single command
What shortcut do you use to increase font size on the go? I meant to ask this in reference to LARBS.
@baikerolomero544
4 жыл бұрын
Try Control and + on the numeric keypad
why do you have the awk toupper thing in your bashrc? you could probably just use ${variable^^} to get an uppercase version of whatevr is in the var
what keyboard do you use? is it mech?
Hi. Just checking your video now (From France !!) and I'm interested in your .profile file. Do you ahev a git with it ? Can you source things that are common to all the shells ? (like aliases, exports, prompts ?)
Great video, and thanks for sharing it with us. Do your dotfiles work for Ubuntu or only Arch Linux?
@dhiegov
5 жыл бұрын
Yes, as long as 1. the two distros use the same commands to be aliased: for example, in Ubuntu the install command is `sudo apt-get install`, in Arch is something like `sudo pacman -S[something else I don't know because I don't use Arch] 2. and also the same config configuration in things different distros can have different, like use /sbin to separate super user binaries or just /bin for every binary (probably they won't change THIS, but some other maybe confusing scheme in these not-children-of-home folders). But this should be counter-compatible as long as you're not messing (or even care) about this sort of folders
Luke I'm using your neomutt wizard and whenever gnupg timesout I have to re enter my password manually each time to get a notification regarding new mails. Is there anyway to fix this behaviour?
You should be able to use su with your /home dotfiles. Here's the option: -m, -p, --preserve-environment Preserve the entire environment, i.e. it does not set HOME, SHELL, USER nor LOGNAME. This option is ignored if the option --login is specified.
yay, new content video :)
Will you be moving to GitLab from Hithub ?
@finnianquail8881
3 жыл бұрын
both suck lmao >gitlab is amazon trash >github is M$
I'd recommend using 'sudo -E' for keeping the environment, instead of this /etc/passwd hack. (Or 'sudoedit file' instead of ' sudo vim file')
Hi, I am a Linux noob, I don't understand which type of terminal are you using? How do you quickly open new windows nicely docked in their place? Also these terminals seem to be borderless? How can I get these? Please tell me.
I'm pretty sure it was in this channel I learn about a useful command to watch a file/folder and do something else upon any change. I can't remember that command. I think it was three letters... Couldn't found on duckduckgo/apropos so far.
Hi Luke, Do you prefer bash or zsh? and can you explain the reason of you selection. Thank you!
@rexevan6714
5 жыл бұрын
I think back then he chose bash over zsh because bash comes as default.
agree with you 1000% on the aliases!
What os do you use, i dont think i ask.
mfw the only thing I ever put in mine is cat for a text file with an ascii image.
where i can get the ascii art ?
Is KZread-viewer just mps-youtube with a different name or is it a entirely different package?
@cesarbrun4216
5 жыл бұрын
it's different, check your package manager
I cant read the operand character in the ttymaps file. (And lukesmith.xyz doesnt seem to show bashrc anymore) Is it '=' or '-' ?
Of course fish has real abbreviations instead of aliases, so you can edit the command on the fly. Another bash problem solved.
@vison360
5 жыл бұрын
Biggest advantage of fish is it's directory structure. You can create truly modular configs and symlink them with GNU Stow
@leotaku5216
5 жыл бұрын
Daniel Lewan: How is that not possible with bash/zsh?
@vison360
5 жыл бұрын
@@leotaku5216 of course you can, but you have it by default in Fish. Simply better design.
@djtaro6173
4 жыл бұрын
@@vison360 What is the value of that?
What does the "rc" stand for? Run crippled?
@alcesmir
5 жыл бұрын
I think it's runcom, for some obscure historical reasons. You might have some luck consulting the jargon file for this.
@oddbob6230
5 жыл бұрын
Really cool. Thanks.
@gz6616
5 жыл бұрын
rc -> really cool
alias back="cd $OLDPWD". i think it is useful :D
@CoreyTL
3 жыл бұрын
ik this is two years ago, but "cd .." exists
@brickcausingunexpired
3 жыл бұрын
@@CoreyTL hi! "cd .." goes to the parent directory, that's not always the previous one. "cd -" does it.
What os do you use
Oh, the implicit nature of gods and their BIG hard drives 6:56
does anybody know what the text style is called in which the bashrc is written?
wal theme name plz Luke :)
and i thought you have the ctrl-s thing to fix incremental search :D
Before this video I was creating a new shell script every time in /usr/bin instead of using alias. I'm a noob lol.
Does anyone know how he switches between the terminal? and how the terminal resize itself when he close one?
@petewest3122
5 жыл бұрын
Check out his i3 videos
@jeandelinux259
5 жыл бұрын
All the channel is about that
@naumanafsar3053
5 жыл бұрын
Thanks man, it's really cool!
@naumanafsar3053
5 жыл бұрын
I came here from a facebook post, and i am loving it! it's awesome!
How do you tile windows like that?
Isn't the link to same profile hack a bad idea? It must be run several times at boot no?
Hm, fictional phone-call, as during unsuccessful date :)
My favourite evil thing to put in someone's profile or bashrc is `yes >> .bashrc' It's not usually destructive, just quite funny, and it looks quite unassuming
Hi luke. I've been investigating for a couple of days now on how to make a usb from which i can simply plug it on to my Macbook and use arch linux as the OS but tutorials and the archwiki never really specify whether what they are showing is exactly what i want and I'm afraid of erasing my MacOS system. Im not a total begginner on linux but im just scared. To sum up, i Want a usb that contains a totally configured and working desktop enviroment to build my own custom rice :). Hope to hear from you soon, thanks
@dhiegov
5 жыл бұрын
What you are seeking is a `live distro` or `live medium`: one that you can boot and run normally from a USB drive. As far as I know, you can do that only by booting from your pendrive at start up, which you configure by pressing some function keys (f1-12) (varies depending on your computer manufacturer) on you computer start-up.
Luke senpai with the simplest line of code.
what terminal program is that
I alias 'pacget' to 'sudo pacman -S' and 'pacupgrade' to 'sudo pacman -Syyu'. And 'pacs' to 'pacman -Ss'. Does that make me a noob? I also know the actual commands. And how to navigate the man page quickly when necessary..
can u turn off autocd in zsh?
Imagine not ignoring case for auto completion
The .bashrc on LukeSmithxyz/voidrice github is only 8 lines? What am I missing?
@yellowflashgaming9237
4 жыл бұрын
really .. icant get that too .. i think he changed
Instead of setting root's homedir to your user's homedir and instead of aliasing "sudo edit", use the command `sudoedit`, it runs your editor as your user and thus uses your .vimrc and then save it as root,
From 7:55 why u say is not safe? That trick blow my mind i want to use it.
Great video but the keyboard clicking makes it difficult to hear.
If I make a change to my .bashrc. Can I just ~$./bashrc to reload it? Or do I have to logout and log back in?
@Luke Smith Could you please share your bashrc config. i can see your deleted your old dotfile from your repro. if not mind could you lease share.
hi, my terminal is gone. all I can see is : "Last login: Tue May 5 08:29:01 on ttys007 [İşlem tamamlandı]". (it means "job completed") I was making sth about bash profile and trying to save sth, I think i did sth wrong and terminal is not responding now, whatever I push. how can I fix it. even apple doesnt know, I called them. how can I fix it. On the top, its written that " Terminal -- java_home --bash 80X24".. thank you..
How do you get the name of the file displayed on top of your files?
@dhiegov
5 жыл бұрын
Could you please rephrase you question, please? I can't understand it well
@nicolasvillafan
5 жыл бұрын
@@dhiegov oh I am so sorry dhiego, I was talking about the letters on top of the basrc file that said bashrc with special characters.. and actually I figured it out. Thanks for responding anyways.
@dhiegov
5 жыл бұрын
@@nicolasvillafan ah! You original question makes sense now, hehe. You're welcome. How did you figured that out, thought?
You should try zsh :P
@Discordianism
5 жыл бұрын
I just switched to fish yesterday. It's pretty cool.
@alkeryn1700
5 жыл бұрын
I tried fish but in the end i couldn't do few things i was doing on zsh, plus you can use plugins on zsh to have it like fish so i went back to zsh ^
@Discordianism
5 жыл бұрын
@@alkeryn1700 True. I tried fish when it came out a couple years back but I remember it being kinda funny. Seems much more stable now. I still haven't run into anything weird yet. Will chsh to default once I feel it's decent. Zsh is still default for now.
@alkeryn1700
5 жыл бұрын
@@Pichelinou Not my case, zsh have some great autocompletion and suggestions, help menus so you don't need to use -h on commands or read manuals most of the time Also you can have way more customed prompt and generally your zsh can behave exactly like you want it to
@engineerwolf3692
5 жыл бұрын
[Bash-it](github.com/Bash-it/bash-it) bridges the gap between zsh and bash quite nicely. I mean its not complete drop in replacement, but its quite close. I like bash because its everywhere. I can ssh into any of my servers and be sure bash will be there. not so much for zsh. And I don't like the idea of using one thing on local and another on remote.
Omg
I thought that Luke runs Parabola (Arch-based) but he uses apt-get (Debian, Ubuntu)? Did he hop or did he install apt-get on his Parabola?
@crwmike0
5 жыл бұрын
He just entered those lines for reference, and then deleted those lines. He ran pacman earlier in the video.
my first concern about sharing the homedir as root, is perhaps ~/.scripts should not be in the PATH for root...
the virgin bash user, and the chad zsh user...
where tf is the meme thumbnail?
On the topic of security giving your root user the same dot files as your main user is generally pretty insecure because if i can exploit your main user I can easily privesc using some code in the dot files. If root calls a shell for some reason (for example running a script in a cron job) it will execute whatever is in that dot file - which can be some nasty shit. you're probs OK since this is a home PC and not a server but just FYI.
GUHNOO SLASH LINUHX
god, why such huge gaps
inb4 1tb bashrc
That call was scripted Luke, and that email too. We know you already
I prefer sudo -i to sudo su.
Since you mentioned highlight, have you ever tried bat. It is a replacement for cat written in Rust, but it is so much better. you can find it here: github.com/sharkdp/bat
You can, in /root, make symbolic links to your underprivileged-user configs, thus avoiding dealing with your editor's vanilla config whenever you sudo-edit a root-owned file.
Damn i can't find his bashrc on his github
@superspectator123
5 жыл бұрын
ls -a
stuff like that
use eshell
11:33 line 27 a dog whistle? 🤔🤔🤔🤔🤔
btw time stamp for bash history, just add this: HISTTIMEFORMAT='%F %T ' in .bashrc file. More here! sanctum.geek.nz/arabesque/better-bash-history/
Yossss
>recommends against making aliases for subcommands >has an alias for git
@AkamiChannel
4 жыл бұрын
That's for a command. A subcommand would be having an alias for "git status" etc. Which I totally have lots of anyway personally
Luke, please for the love of UNIX, stop referring to "folders". They are "directories". Also, I love your stuff. Keep up the great work.