cm0002@programming.dev to Linux@programming.dev · 7 days agoWhat's involved in getting a "modern" terminal setup?jvns.caexternal-linkmessage-square21linkfedilinkarrow-up11arrow-down10cross-posted to: linux@lemmy.ml
arrow-up11arrow-down1external-linkWhat's involved in getting a "modern" terminal setup?jvns.cacm0002@programming.dev to Linux@programming.dev · 7 days agomessage-square21linkfedilinkcross-posted to: linux@lemmy.ml
minus-squaremaxwells_daemon@lemmy.worldlinkfedilinkEnglisharrow-up0·edit-27 days agoInstall fish chsh -s /usr/bin/fish That’s all, folks.
minus-squareLiveLM@lemmy.ziplinkfedilinkEnglisharrow-up0·7 days agoI thought you weren’t supposed to use Fish as your login shell directly since it isn’t fully POSIX compatible
minus-squaredarklamer@lemmy.dbzer0.comlinkfedilinkarrow-up0·7 days agoWhy would your login shell need to be fully POSIX compatible?
minus-squarefurikuri@programming.devlinkfedilinkarrow-up0·7 days agoThis was more of a problem when they didn’t support basic POSIX-isms so even basic calls to sh like sh -c 'echo "foo" && echo "bar"' would fail. Less of a problem now but you never know when a random script is going to rely on some obscure POSIX flag
minus-squaredarklamer@lemmy.dbzer0.comlinkfedilinkarrow-up0·7 days agoWhat does any of that have to do with your login shell?
minus-squarexav@programming.devlinkfedilinkarrow-up0·7 days agoScripts who use #!/bin/sh are independent of your login shell.
minus-squareInternetCitizen2@lemmy.worldlinkfedilinkarrow-up0·7 days agoRecently tried it and do like
minus-squareMihies@programming.devlinkfedilinkarrow-up0·7 days agoI thought it’d have better git prompt out of the box. I guess I have to try it configure.
minus-squareartiman@piefed.sociallinkfedilinkEnglisharrow-up0·edit-27 days agoDefault preset or did you try a preset it has different presets on the website.
minus-squareMihies@programming.devlinkfedilinkarrow-up0·7 days agoI just installed it as it is out of the box. What do you suggest for improving git prompt?
minus-squareartiman@piefed.sociallinkfedilinkEnglisharrow-up0·7 days agoTry out the different presets the git prompts may be better.
minus-squareUnfortunateShort@lemmy.worldlinkfedilinkEnglisharrow-up0·edit-27 days agoAnd maybe a Nerd Font
Install fish
chsh -s /usr/bin/fish
That’s all, folks.
I thought you weren’t supposed to use Fish as your login shell directly since it isn’t fully POSIX compatible
Why would your login shell need to be fully POSIX compatible?
This was more of a problem when they didn’t support basic POSIX-isms so even basic calls to
sh
likesh -c 'echo "foo" && echo "bar"'
would fail. Less of a problem now but you never know when a random script is going to rely on some obscure POSIX flagWhat does any of that have to do with your login shell?
Scripts who use
#!/bin/sh
are independent of your login shell.Recently tried it and do like
I also install starship.
I thought it’d have better git prompt out of the box. I guess I have to try it configure.
Default preset or did you try a preset it has different presets on the website.
I just installed it as it is out of the box. What do you suggest for improving git prompt?
Try out the different presets the git prompts may be better.
🫡
And maybe a Nerd Font