Skip to content

GDSimpson3/lazy-c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lazyc/cpp/ : (lcc)/(lpp)

Are you eligible?

if((UserFeeling === 'Lazy') && (UserKnows === 'Terminal 🥴') && ((UserusesC === true) || (UserUsesC++ === true)){
console.log('You should use this!')
}

Versions

MacOS and Linux

This has been tested and used on MacOS and will 99% work on Linux

Windows

Not yet availible

How to install it?

It might help to download the file someplace other than your "downloads" folder so that when you have run out of storage and you do a ctrl + a ==> delete, it won't be a wonder when it suddenly disspears

1) Save it in a folder,

Make sure you copy the full path, i saved it a folder called "AAA-GLOBAL-LIBS/lazyc" eg:

/Users/username/AAA-GLOBAL-LIBS/lazyc/lazyc.sh

and (c++)

/Users/username/AAA-GLOBAL-LIBS/lazyc/lazycpp.sh

2) Make it accesible throughout your shell,

Add an alias in your shell profile .zprofile/.zshrc/.bashrc

alias lcc="sh /Users/gavinsimpson/AAA-GLOBAL-LIBS/lazyc/lazyc.sh" # C
alias lpp="sh /Users/gavinsimpson/AAA-GLOBAL-LIBS/lazyc/lazycpp.sh" # C++

3) Create the variables.

ExportProps

4) Run it

Alt text

Alt text


Lazyc/cpp/ : (lcc)/(lpp) OLD

Are you eligible?

if((UserFeeling === 'Lazy') && (UserKnows === 'Terminal 🥴') && ((UserusesC === true) || (UserUsesC++ === true)){
console.log('You should use this!')
}

Versions

MacOS and Linux

This has been tested and used on MacOS and will 99% work on Linux

Windows

Not yet availible

How to install it?

It might help to download the file someplace other than your "downloads" folder so that when you have run out of storage and you do a ctrl + a ==> delete, it won't be a wonder when it suddenly disspears

1) Save it in a folder,

Make sure you copy the full path, i saved it a folder called "AAA-GLOBAL-LIBS/lazyc" eg:

/Users/username/AAA-GLOBAL-LIBS/lazyc/lazyc.sh

and (c++)

/Users/username/AAA-GLOBAL-LIBS/lazyc/lazycpp.sh

2) Make it accesible throughout your shell,

Add an alias in your shell profile .zprofile/.zshrc/.bashrc

alias lcc="sh /Users/gavinsimpson/AAA-GLOBAL-LIBS/lazyc/lazyc.sh"
alias lpp="sh /Users/gavinsimpson/AAA-GLOBAL-LIBS/lazyc/lazycpp.sh"

2) Enjoy.

I know that you prob can make your own, but here is my way of making it

image image

About

Compiler shortcut VIA gcc for c/cpp files

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages