DEV Community

Cover image for Essential quality of life terminal improvements

Essential quality of life terminal improvements

jess unrein on October 26, 2018

Liquid syntax error: Unknown tag 'endraw'

Collapse
 
parkerholladay profile image
Parker Holladay

I notice your ..="cd .." alias. Try autocd=true. You'll never need to type cd again.

Collapse
 
midblue profile image
Jasper Stephenson

That one doesn't work for me! Does it not work in stock Terminal?

Collapse
 
parkerholladay profile image
Parker Holladay

My bad. The command is actually shopt -s autocd. I should have checked my bashrc first.

Thread Thread
 
midblue profile image
Jasper Stephenson

Just so anyone trying this knows, I had to update my bash to @4+ to get this working!
Here's a handy guide on getting it working:
clubmate.fi/upgrade-to-bash-4-in-m...

Collapse
 
ex_y profile image
Ashe

!!!!!! OMG This is so great!!!!!!! (thanks for sharing this awesome tip!)

Collapse
 
thejessleigh profile image
jess unrein

Ooh. That one is new to me and I’m very excited to try it out. Thanks!

Collapse
 
mojo2012 profile image
Matti

If ur really that lazy u should just install oh-my-zsh. It does all the cool stuff out of thr box, plugins r auto updated and u can even sync ur zshrc.
Its has autocomplete for everything, is case insensitive etc. Give it a try!

I was like u for way to longtime until a colleague showed my omz😊

Collapse
 
thejessleigh profile image
jess unrein

I am just so reluctant to learn a whole new thing. I'm busy learning other things and there are only so many things I can focus on! But zsh is definitely on my list of things to check out....at some point.

Collapse
 
rhymsy profile image
rhymsy

Here for your spare time :)

Jorge use ZSH with Oh My Zsh

I know you probably don't need the setup parts... but a quick parse through the first one and some looks in the second and you'll be off to the races

dev.to/jorge_rockr/my-development-...

dev.to/jorge_rockr/my-development-...

Collapse
 
mojo2012 profile image
Matti

There‘s really nothing much to learn, oh my zsh does all for u!
It configures zsh to a point where u might only want to join the theme and nothing else

Collapse
 
moopet profile image
Ben Sinclair

Please ignore my borderline absurd uptime I should restart more often

Nuh-huh. Take pride in your uptime! If you don't need to reboot, why reboot?

Collapse
 
andrewbrown profile image
Andrew Brown 🇨🇦

These are my aliases if its of interest:

alias gst='git status'
alias co='git checkout'
alias ga='git add'
alias gaa='git add .'
alias gr='git rebase'
alias gpr='git pull --rebase'
alias gp='git pull'
alias gh='git push'
alias gd='git diff | vim'
alias gc='git commit -v'
alias gca='git commit -v -a'
alias gb='git branch'
alias mb='deetsm; expm; middleman build'
alias ms='deetsm; expm; middleman serve -p 8080'
alias gba='git branch -a'
alias rgm='bundle exec rails generate migration'
alias rs='deets; exp; bundle exec rails s -b 0.0.0.0 -p 8080'
alias rc='bundle exec rake db:create'
alias rd='bundle exec rake db:migrate'
alias rdd='bundle exec rake db:drop'
alias rdr='bundle exec rake db:rollback'
alias rad='bundle exec rake db:auto:migrate'
alias rr='rake routes'
alias gsw='git add .; git stash save; git checkout master; git pull; git stash apply'
alias ggco='git rebase --continue'
alias ggcs='git rebase --skip'
alias ggca='git rebase --abort'
alias gsl='git stash list'
alias gsp='git stash pop'
alias gsa='git stash apply'
alias gsc='git stash clear'
alias gbl='git branch list'
alias zz='tar -xzvf'
alias exp='cd /home/ubuntu/environment/exampro'
alias expm='cd /home/ubuntu/environment/exampro-marketing'
alias bi='bundle install'
alias bx='bundle exec'
alias gsoft='git reset --soft HEAD^'
alias rrrr='bundle exec rake db:drop; bundle exec rake db:create; bundle exec rake db:migrate; bundle exec rake db:seed'
Collapse
 
awwsmm profile image
Andrew (he/him)

It's almost Halloween, so I have to show off some spoopy ascii

#2spoopy4me

Collapse
 
thejessleigh profile image
jess unrein

The art I use on my other workstation is much friendlier :P

Neofetch output with rainbow ascii art of a ghost saying "Welcome Home"

So cute! So welcoming!
Collapse
 
midblue profile image
Jasper Stephenson

Ohohoho this is so much fun!

Collapse
 
okash1n profile image
okash1n • Edited

Can I write a Japanese translation article on my own blog and dev.to?

Collapse
 
thejessleigh profile image
jess unrein

Go for it! Just link it back to the original please. I’m really glad you liked it!

Collapse
 
jeikabu profile image
jeikabu

My terminal is default and sad...