Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

binadd

quickly add some executable to your ~/.local/bin via ln -s

Setup

git clone https://github.com/An-GG/binadd
cd binadd
npm i
npx tsc --build tsconfig.json       #build products are provided in dist/ so this is optional

# Add binadd to ~/.local/bin with binadd
./bin/binadd ./bin/binadd

Add ~/.local/bin to your $PATH by adding this line to your startup script ~/.zshrc

~ does not get translated automatically by zsh

export PATH="$PATH:$HOME/.local/bin"

# check
echo $PATH | sed 's/:/\n/g'

Usage

binadd: 
    shortcut to symlink some binary to ~/.local/bin. useful on mac because ~ does not get translated automatically by zsh.

Example:
    binadd ./build/out
        links ./build/out to ~/.local/bin/out
    binadd ./build/out appname
        links ./build/out to ~/.local/bin/appname

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages