My .bashrc and the command prompt.

Поделиться
HTML-код
  • Опубликовано: 4 июл 2024
  • Software:
    Distro: Debian 12
    My .bashrc
    github.com/drewgrif/jag_dots/...
    Github:
    github.com/drewgrif/
    Fosstodon:
    fosstodon.org/@justaguylinux
    Twitter:
    / justaguylinux
    Proton Mail:
    pr.tn/ref/CBK96TN0ZDAG
  • НаукаНаука

Комментарии • 25

  • @TheLinuxCast
    @TheLinuxCast 3 дня назад +7

    The ssh thing is a great idea!

  • @TheChrissutcliffe
    @TheChrissutcliffe 2 дня назад +2

    I enjoyed the video as you provided a clear explanation of your bashrc and I like the fact that you have kept things simple.

  • @penguin2137
    @penguin2137 2 дня назад +2

    you inspired me to do some cleaning in my .bashrc file - i've been planning that some time ago but it was just today i was able to move my lazy a** for that purpose

  • @backhdlp
    @backhdlp 2 дня назад +1

    a cool alias I have is s='sudo '. it does the obvious of shortening sudo to s to be quicker, but the space at the end also means that it still understands aliases.

  • @cwarehime
    @cwarehime 3 дня назад +3

    Hey great video, it's very simple I Love it! Easy to understand and use. If I had to explain my environment (28+ yrs inside my .bashrc) it would not be pretty.

  • @bokami3445
    @bokami3445 3 дня назад +3

    Admitted your 'x' command is handy and shorter, ctrl-d does the same thing, Plus if you alias apt='sudo apt' and then include your install, upgrade, uplist.... if you decide to switch to nala, you only need to change the one entry and all your other aliases will switch from apt to nala.

  • @jonatdrmarlo
    @jonatdrmarlo 2 дня назад +1

    Thanks!

  • @mikel8190
    @mikel8190 3 дня назад +1

    I've been using most of those same git aliases for years. Enjoyed the video. It helped make my PS1 actually readable.

  • @kychemclass5850
    @kychemclass5850 3 дня назад +2

    I have conflicting feelings about aliases... reliance on them lowers memory retention of the 'proper' commands/syntax, establishing non-standard stuff within you which carriers future potential problems. The standard syntax carries a logical structure which aliases reduce your exposure to. Personally I still feel time isn't right for me alias everything, I try to stick to original command/syntax especially when a command is short.
    But they can save a _lot_ of time and if a reference to the aliases is available (cat ~/.bashrc) then any problems are largely mitigated.
    The case for aliases get very strong for more complex the commands need to be and a great way to 'pseudo PATH' to scripts.
    I'm probably saying the blindingly obvious but to new users to think of these things is I feel, important.

  • @nosotrosloslobosestamosreg4115
    @nosotrosloslobosestamosreg4115 3 дня назад +1

    Thank you for sharing your aliases. I'll implement some of them in my bashrc and zshrc.

  • @philippef.4590
    @philippef.4590 9 часов назад

    Thank you

  • @ricardoreinasgiordano3846
    @ricardoreinasgiordano3846 3 дня назад +1

    your alias combination is very interesting 👍👍👍

  • @PeterBuffon
    @PeterBuffon 3 дня назад +3

    Me seeing those aliases and feeling dumb to why i`ve never thought of to use some of them hehehehe.

    • @JustAGuyLinux
      @JustAGuyLinux  3 дня назад +2

      Let's get one thing straight. Anyone who watches my channel could never be considered dumb. 😉

  • @youtubewzd2196
    @youtubewzd2196 2 дня назад +2

    I went and put my aliases into ~/.alias and source them from my .bashrc. This way I can reuse them from zsh or fish in the same way.

    • @jyvben1520
      @jyvben1520 2 дня назад +2

      why not use the .bash_aliases file, it is called automatically from .bashrc, i have added alias a to edit it ... and added b to edit .bashrc

  • @alexstone691
    @alexstone691 День назад +1

    Install alias is cool but i usually avoid shadowing existing commands

  • @user-hc6uo5fp8n
    @user-hc6uo5fp8n 2 дня назад +1

    Have you see hstr - easily view, navigate, sort and use your command history with shell history suggest box.

  • @tubeincompetence
    @tubeincompetence 2 дня назад +1

    I generally just switched to zsh instead. But this is still a nice video :)

  • @ditierferreira2039
    @ditierferreira2039 2 дня назад +1

    Friend, would it be possible to introduce the JWM graphical environment into the custom script shown in the previous video? Congratulations on the videos and the excellent work

  • @nastykerb34
    @nastykerb34 День назад

    Wait.. Now sudo make install wont work if u use the install="sudo apt install". Unless you use which in the makefiel