]> Tony Duckles's Git Repositories (git.nynim.org) - dotfiles.git/commit
.bashrc: Cleanup path helper functions
authorTony Duckles <tony@nynim.org>
Sat, 3 Mar 2018 18:00:24 +0000 (12:00 -0600)
committerTony Duckles <tony@nynim.org>
Sat, 3 Mar 2018 18:00:24 +0000 (12:00 -0600)
commit15847e8b4e4c6b338dcca6f7b022c4ab0cadfd84
tree7efcc44bf055df0bae2e1189629dd2cc43f15f76
parentff77fcc562289c7765489879e7d0fdae94827438
.bashrc: Cleanup path helper functions

- Remove functions I never use: `pshift`, `punshift`

- ppop: Misc fixes

- ppush: Support taking in a list of paths to append, and to do
  directory-exists check before apending.

- pinsert: Creating, for pushing an entry on the *beginning* of the list.

- puniq: Strip out empty pieces, and use `paste` for smarter way to glue
  list back together [avoid adding trailing ':' chars].
.bashrc