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...
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😊
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.
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
I've been a professional C, Perl, PHP and Python developer.
I'm an ex-sysadmin from the late 20th century.
These days I do more Javascript and CSS and whatnot, and promote UX and accessibility.
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'
I notice your
..="cd .."
alias. Tryautocd=true
. You'll never need to type cd again.That one doesn't work for me! Does it not work in stock Terminal?
My bad. The command is actually
shopt -s autocd
. I should have checked my bashrc first.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...
!!!!!! OMG This is so great!!!!!!! (thanks for sharing this awesome tip!)
Ooh. That one is new to me and I’m very excited to try it out. Thanks!
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😊
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.
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-...
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
Nuh-huh. Take pride in your uptime! If you don't need to reboot, why reboot?
These are my aliases if its of interest:
#2spoopy4me
The art I use on my other workstation is much friendlier :P
Ohohoho this is so much fun!
Can I write a Japanese translation article on my own blog and dev.to?
Go for it! Just link it back to the original please. I’m really glad you liked it!
My terminal is default and sad...