Make YOUR OWN Commands With BASH ALIAS 🦾

Поделиться
HTML-код
  • Опубликовано: 26 окт 2024

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

  • @Viken43
    @Viken43 Год назад +6

    Most bash stuff can be found online, but in video form it just comes to life and really helps. Keep up the good work 😊

  • @RoughGanome
    @RoughGanome Год назад +3

    Great content!
    3:02 first reference is "bash_aliases" plural.. Then you source"bash_alias" single.
    For a newcomers, pick one or the other and make them match.

  • @NigelAtkinson256
    @NigelAtkinson256 Год назад +2

    I have a bunch of two letter aliases for git. gs='git status', gd='git diff' etc. My longest alias that I use very often is dcw='docker compose exec --user=1000 workspace bash'

  • @arieloxford6790
    @arieloxford6790 Год назад +1

    Yep! Happy to be an early subscriber.
    Keep this standard up and you'll be huge.

  • @azucar151
    @azucar151 Год назад

    Brother ... your channel will become big ... love your delivery style... SUBSCRIBED !

  • @MichaelButlerC
    @MichaelButlerC Год назад

    Ever since i started using zsh and ohmyzsh! I'm making fewer aliases since the historical autocomplete is so good! Still have my favorites though like ll for ls -l

  • @brunoais
    @brunoais Год назад +2

    6:50: I still think that mkcd alias is kinda overcomplicating. Why make an alias and not make a function directly? It would be much more reliable. Is it really easier to read?

    • @nixtricks
      @nixtricks  Год назад +2

      I think it comes down to personal preference - used to have many one-liners like this, one after another, so it made sense visually. But it makes a great deal of sense to have a dedicated file full of functions as well. I find both solutions pretty easy to maintain.

    • @brunoais
      @brunoais Год назад +1

      @@nixtricks I see. I have a few one-liners but many of what I have are functions that take arguments and a few even have a help if I misuse (sometimes I forget myself how to use).
      Thanks for answering

  • @danieldewindt3919
    @danieldewindt3919 Год назад

    Tada! Surprise mutherfckr
    Suddenly terminal 👾 becomes as pleasant as eating a big chunk of space cake 👽👽
    You have opened a portal to a complete new dimension over here hahah

  • @UjjwalPatil20
    @UjjwalPatil20 Год назад

    I added the cd aliases, but in every terminal I get this message.
    bash: cd: too many arguments
    bash: cd: too many arguments
    bash: cd: too many arguments
    bash: cd: too many arguments
    What to do?