3 ms·
> And finally the user interface is much more modern. I hear you on the pinning, but "UX" concerns like this drive me batty; I just use shell functions for thi
by camgunz 4y ago
> And finally the user interface is much more modern.
I hear you on the pinning, but "UX" concerns like this drive me batty; I just use shell functions for this:
venv() {
. ${VIRTUALENV_FOLDER}/${1}/bin/activate
}
gitsu() {
branch=$(git status | head -n 1 | cut -d ' ' -f 3)
git push --set-upstream origin ${branch}
}
git_add_conflicts() {
git add $(git status | grep 'both modified:' | cut -d ':' -f2)
}
It's so much easier to add a little function in your shell than to write a new tool.
- solarkraft 4y agoBut I would prefer something that just works without me having to do that. Chances are it'll also save me work in areas I'm not aware of yet.
- camgunz 4y agoOh me too, I love when a tool solves problems I didn't even know I had, until I have them, I look for a solution, and poof Vim (or whatever) has already solved it in a coherent way. If every tool were like that that would be one kind of world, but we live in one that's more interesting. There's some Mark Twain quite like "the world owes you nothing; it was here first", or maybe the Buddha saying "it's harder to soften the earth than it is to wear sandals". I like to think that sandal-making is a core engineering skill, whether you're a carpenter or a computer engineer.