Skip to content
/ FPkg Public

FPkg in semi-universal package manager which aims to manager applications which cannot run by just inputting their name in cli

License

Notifications You must be signed in to change notification settings

ann-dvlpr/FPkg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Img

FPkg

Package Manager (Also Shell provider)

Table of content

Installation

Depends on Release, check Latest Releases

Adding applications to FPkg

cd ~/.FPkg/packages

Add a new file, which will be your startup command

Here is an example of hello program

# Testing purposes
echo "Hello, World! This is FPkg!"

(please leave a line after file ends)

As you can see, the first line is invoking a comment, it is optional and not required to operate.
After that line you see actual command to invoke program, I recommend you adding applications folder to store their data and binaries itself.

Using FSh

FSh (Dont misread as fish) is an plug-in for FPkg. It allows you to:

  • Add aliases, configs without resetting shell (just press <enter> after .fshrc file was updated)
  • Using FPkg without touching your .rc file.
  • Adding a Banner without touching your .rc file.

Making FPkg's files auto-start

Open your .rc file and add this line:

alias FPkg="$(cat ~/.FPkg/shell.var) ~/.FPkg/FPkg" # To add FPkg as executable
$(cat ~/.FPkg/shell.var) ~/.FPkg/banner # To load banner
$(cat ~/.FPkg/shell.var) ~/.FPkg/FSh # To open FSh

Please, add these lines in correct order, otherwise it wont work properly.
Please note that adding these lines to .fshrc wont work.

FSh and FPkg Commands

WARNING! NEVER, TRY TO CLEAR YOUR HISTORY FILE YOURSELVES.

clear-shell-history (Fsh) - Clears your shell-hist file.
fshistory (FSh) - Opens gum selection screen where you can select previous commands.
fphistory clear (FPkg) - Clears your history file.
fphistory (FPkg) - Opens gum selection screen where you can select previous applications.

About

FPkg in semi-universal package manager which aims to manager applications which cannot run by just inputting their name in cli

Resources

License

Stars

Watchers

Forks

Packages

No packages published