![]() Function definition, aliasing, and variables all work a little differently. When trying out other shells, I found there were always a few differences I needed to tune, but they felt familiar overall. Free online course: RHEL Technical Overview.I especially like how from the first time you give it a try by typing fish, you get a beautiful experience: Easy defaults and customization with fish shellįish shell is a modern command-line interface with auto-suggestions, tab completion, and syntax highlighting (among other features). I felt like I was a prisoner of history until I decided to throw it all away and try something totally different. The hoops I felt like I had to jump through to get the modern experience I sought led me back to the standards that brought me to this point. Ultimately, I used Bash-it, which is a powerful plugin system for customizing Bash.Īfter peeling back the pieces one-by-one, I felt I understood a bit more about how my system ran.This later eventually broke writing to stdout in some cases, so I stopped using it. Then, I replaced cat with the prettified output of ccat and aliased cat to ccat in my.First, I customized my ~/.inputrc file to allow for forward and backward search.The first time I went after an answer, I solved it one step at a time: ( iTerm2 is great on a Mac, but I don't want to track its cryptic configuration file in my dotfiles.) So what am I to do? I want some modern conventions in my terminal, especially auto-suggestions, syntax highlighting, and colorization of command outputs without too many dependencies, and I'd like that configuration to be independent of whatever command line interpreter I'm running. It's at this point of clarity that I got stuck again. I've been on a journey to demystify the magic of my environment, and it is starting to make more sense. I use `git status` a lot.Įxport HISTIGNORE="ls:cd:cd -:pwd:exit:date:* -help" # Make some commands not show up in historyĮxport LANG="en_US.UTF-8" # Language formatting is still importantĮxport LC_ALL="en_US.UTF-8" # byte-wise sorting and force language for those pesky appsĮxport MANPAGER="less -X" # Less is moreĮxport GPG_TTY=$(tty) # for gpg key management ![]() Here are a few favorites: # Nicer shell experienceĮxport GREP_OPTIONS="-color=auto" # make grep colorfulĮxport LSCOLORS=gxfxbEaEBx圎hEhBaDaCaD # make ls more colorful as wellĮxport HISTSIZE=32768 # Larger bash history (allow 32³ entries default is 500)Įxport HISTCONTROL=ignoredups # Remove duplicates from history. It was refreshing I found a ton of confusing shortcuts and duplication and paired it down to something that ports between operating systems well. I recently switched from Mac to Linux, which gave me a reason to look into porting my dotfiles to the new environment. A little over a year ago I decided to stop abstracting away my operating systems and start to learn it from the ground up.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |