Skip to content
/ pasto Public

pasto is a simple approach for pasting contents from the clipboard

Notifications You must be signed in to change notification settings

BB31420/pasto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

pasto

pasto is a simple command line approach for pasting contents from the clipboard

Building

  • Clone the repo and navigate to its directory
  • Build the c file:
  •  gcc -o pasto pasto.c -lX11
    
  • Update your shell profile to include:
  •  alias pasto="~/path/to/pasto"
    

Usage

  • Create a directory with a file with clipboard content: pasto newdirectory/newfile.py
  • Overwrite a file in current directory: pasto newfile -o

Flags

  • -o: Overwrite an existing file.
  • -a: Append the clipboard content to the file.
  • -n: Open the file after creation/modification.

About

pasto is a simple approach for pasting contents from the clipboard

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages