Skip to content

krzysztof-ciszewski/pash-git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

pash-git

Simple wrapper for dylanaraps/pash adding git functionality similar to pass

  • Shellckeck compliant.
  • A git commit gets created every time you add or remove password with pash.

Dependencies

Configuration

The configuration is done through environemnt variables. The script uses $PASH_DIR that falls back to $XDG_DATA_HOME/pash that falls back to $HOME/.local/share/pash as the password store location. You can set the pash executable path in the $PASH_BIN varibale. By default it assumes it's on the $PATH

Usage

I recommend aliasing pash-git to pash and adding it to $PATH

It's a pash wrapper, the script executes pash for every command except pash-git git

On add and del operations it will create a commit in the repository in the store after a successful pash call

  • pash-git add web/gmail
  • pash-git del web/test

Executing git commands:

  • pash-git git status
  • pash-git git push
  • pash-git git log

About

Simple wrapper for https://github.com/dylanaraps/pash adding git functionality similar to pass

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages