-
-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What is your dev environment? #28
Comments
I use a MacBook Pro (15-inch, Late 2013) and Bose QC25 headphones. My most used apps are iTerm2, Chrome, Sublime Text, Dash, Alfred, Caprine, Black Out, and Gifski. I also use the menu bar apps Bartender, Battery Indicator, Lungo, and Spectacle. In Sublime Text, I use the Spacegray theme, the Oceanic Next color scheme, with the above font. I use Also see "What terminal do you use?". |
👍 |
Would you mind showing your |
Not very useful though as most of those are ZSH alias shortcuts. |
@sindresorhus can you expand your aliases? I just wrote cute bash one-lining for you :D
|
c=cd
nv=latest-version
nh='npm docs'
xo
npm
nis='npm install --save'
nid='npm install --save-dev'
ags='ag --ignore-case --literal'
nl='npm link --force'
gc
node
g=git
s
nig='npm install -g'
ni='npm install'
echo
pageres
gcl=clonecd |
Modified it slightly to show more info: fc -l 1 | awk '{CMD[$2]++;count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a;}' | grep -v "./" | column -c3 -s " " -t | sort -nr | command nl | head -n20 | awk '{gsub(/ +|\t+/," ")}1' | cut -d ' ' -f 5 | while read -r i; do alias "$i" || which "$i" || echo "$i"; done c=cd
nv=latest-version
nh='npm docs'
/usr/local/bin/xo
nis='npm install --save'
/usr/local/bin/npm
nid='npm install --save-dev'
ags='ag --ignore-case --literal'
nl='npm link --force'
gc () {
hub checkout "${@:-master}" &> /dev/null || hub checkout "${@:-gh-pages}"
}
/usr/local/bin/node
g=git
s () {
if [ $# -eq 0 ]
then
/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl .
else
/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl "$@"
fi
}
nig='npm install -g'
ni='npm install'
echo: shell built-in command
/usr/local/bin/pageres
gcl=clonecd And clonecd () {
hub clone --recursive $1 && cd $(basename ${1%.git})
} |
do you use dash templates? |
People have asked what laptop I have now. I still have the MacBook Pro (15-inch, Late 2013). Not because I cannot afford to buy a new one, but rather it's a choice. The current one still works great, although battery life is only 3 hours now. And getting a new one comes with a lot of risk: Touch Bar, crappy keyboard, other flaws. I have to admit that the new 16 inch model is very tempting, but at the same time, I never buy the first model of something. It always has flaws. I'll probably get a new one when the second generation of the 16 inch comes out. |
What's your hardware and software that you use for coding?
The text was updated successfully, but these errors were encountered: