Terminal Tips talk in April

6 views
Skip to first unread message

Jay McGavren

unread,
Mar 16, 2016, 3:12:46 PM3/16/16
to Phoenix Ruby Users Group
I'm planning a 20-30 minute talk for next month on being productive in the terminal. This won't be directly about Ruby, although there will be a few Ruby tricks in there, and it will certainly be helpful to Ruby developers.

I don't want to bore people with stuff they already know about, though. Can y'all look this list over and let me know if anything looks too basic or irrelevant? Also, have a look at https://github.com/jaymcgavren/dotfiles, and if there's anything there you'd like to see explained in this talk, let me know!

Bash
  • alias
  • Redirecting output with >
  • cd -
  • Piping output between commands with |
    • grep
    • wc
    • ruby -e, -n, -p
    • head, tail
  • Shell history
    • Configuration
    • Arrow keys, Ctrl-p/n
    • Searching with Ctrl-r
    • Expansion: !!, ^string^replacement^
  • # comments
  • Chaining commands with ; and &&
  • Prompt setup
  • set -o emacs
    • C-a, C-e, M-f, M-b, etc.
    • C-k, M-w, etc.
    • C-y
  • set -o vi
  • man bash
Utility tips
  • pbcopy/pbpaste/xclip, my custom "cb" wrapper
  • less config, less searching
  • ssh remote commands (other than a shell), config tips
  • git checkout -
  • vi
  • emacs
  • tmux
  • man <utility name>
-Jay

Elio Grieco

unread,
Mar 16, 2016, 7:57:38 PM3/16/16
to phoeni...@googlegroups.com

Looks good.

Though I'd also at least mention:
- the importance of configuring the shell and SSH
- z shell
- oh my zsh
- fish shell
- the fuck command (can be installed with: brew install thefuck)

--
--
You are subscribed to the Google Groups "Phoenix Ruby Users Group" group.
To post, send email to phoeni...@googlegroups.com
To unsubscribe, send email to phoenix-ruby...@googlegroups.com
 
See http://rubyaz.org for group details

---
You received this message because you are subscribed to the Google Groups "Phoenix Ruby Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phoenix-ruby...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jay McGavren

unread,
Mar 17, 2016, 2:46:44 PM3/17/16
to Phoenix Ruby Users Group
Agreed on ssh/bash configuration and the fuck command.

I haven't heard of a compelling use case for zsh or fish (but then, I haven't been looking). What are their key differences from bash?

-Jay
To unsubscribe, send email to phoenix-ruby-unsubscribe@googlegroups.com

 
See http://rubyaz.org for group details

---
You received this message because you are subscribed to the Google Groups "Phoenix Ruby Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phoenix-ruby+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages