Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(0.2.462): New repo for docs, refactoring and optimisations #45

Merged
merged 49 commits into from
Nov 6, 2022
Merged
Changes from 1 commit
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
44a5ee7
feat(vuepress): updated docs to new layout
sebastienrousseau Oct 23, 2022
b973eb6
doc(content):minor fixes
sebastienrousseau Oct 24, 2022
1c4641a
feat(aliases): add new GNU aliases and fixed copyright dates
sebastienrousseau Oct 24, 2022
34b93b0
fix(gnu): various tweaks
sebastienrousseau Oct 24, 2022
bf68d03
feat(gnu): updated to gnucoreutls-aliases.sh
sebastienrousseau Oct 24, 2022
f7ad78c
fix(doc): Expected: 80; Actual: 143
sebastienrousseau Oct 24, 2022
985a1ff
fix(doc): Expected: 80; Actual: 154
sebastienrousseau Oct 24, 2022
d8ecc6e
faet(vuepress):refactoring and optimization features
sebastienrousseau Oct 25, 2022
c586c4c
feat(ssh): added ssh gh script (WIP)
sebastienrousseau Oct 26, 2022
8423673
fix(styling): minor styling tweaks
sebastienrousseau Oct 26, 2022
23c7528
fix(codacy): Found fs.existsSync with non literal argument at index 0
sebastienrousseau Oct 26, 2022
a04bd9c
fix(codacy): Unnecessary semicolon
sebastienrousseau Oct 26, 2022
9fe9bc1
fix(codacy): Unnecessary semicolon
sebastienrousseau Oct 26, 2022
06764e9
fix(codacy): Unexpected console statement
sebastienrousseau Oct 26, 2022
f7a74af
fix(codacy): Unnecessary semicolon
sebastienrousseau Oct 26, 2022
047b235
fix(codacy):Found reference to undefined definition
sebastienrousseau Oct 26, 2022
17faa36
fix(codacy): Strings must use doublequote
sebastienrousseau Oct 26, 2022
eed108f
fix(codacy): strings must use doublequote
sebastienrousseau Oct 26, 2022
581c906
fix(codacy): strings must use doublequote
sebastienrousseau Oct 26, 2022
9153cfc
fix(codacy): strings must use doublequote
sebastienrousseau Oct 26, 2022
8d0dc02
fix(paths): updated paths and docs
sebastienrousseau Oct 26, 2022
4a56cd3
doc(homepage): updated homepage and configs
sebastienrousseau Oct 27, 2022
1d5a78b
fix(svn): document updates by Chloé
sebastienrousseau Oct 27, 2022
c0b2876
doc(readme): content updates
sebastienrousseau Oct 27, 2022
916bfb6
doc(readme): content updates
sebastienrousseau Oct 28, 2022
2c7a91e
fix(commit): conflicted docs and grammar
sebastienrousseau Oct 28, 2022
9b6a3ea
fix(docs): content updates and updated lock file
sebastienrousseau Oct 28, 2022
ff7632e
fix(docs): minor changes in frontmatter
sebastienrousseau Oct 28, 2022
869c7d3
upd(docs): style tweaks and content optimization
sebastienrousseau Oct 28, 2022
0c2b179
doc(readme): content updates
sebastienrousseau Oct 28, 2022
ffa94fd
doc(readme):content updates
sebastienrousseau Oct 29, 2022
2dcd30a
doc(emojis): updated emoji calls
sebastienrousseau Oct 29, 2022
da3c316
doc(readme): FR translations
sebastienrousseau Oct 29, 2022
e1fd1c1
docs(readme):FR updates
sebastienrousseau Oct 29, 2022
f33ac2d
doc(readme): title tweaks
sebastienrousseau Oct 29, 2022
c313636
doc(readme): FR translation
sebastienrousseau Oct 30, 2022
2039cbe
doc(alias): FR translation
sebastienrousseau Oct 30, 2022
08e54a5
doc(alias): FR translations
sebastienrousseau Oct 30, 2022
32ed7e9
fix(makefile): removed extraneous escape
sebastienrousseau Oct 31, 2022
05ec451
feat(aliases):new aliases suite
sebastienrousseau Nov 3, 2022
66bf3ab
feat(aliases): organizing aliases and rules
sebastienrousseau Nov 5, 2022
9e44da9
fix(0.2.462): various fixes and optimizations
sebastienrousseau Nov 5, 2022
a9de27a
fix(0.2.462): removed unused variables
sebastienrousseau Nov 5, 2022
72f43ba
fix(functions): simplified `cdls` fn
sebastienrousseau Nov 5, 2022
616dcec
fic(aliases): simplified gnu coreutils aliases
sebastienrousseau Nov 5, 2022
e1402fe
fix(aliases): remove conflicting aliases
sebastienrousseau Nov 5, 2022
49a8f80
fix(aliases): various tweaks and refactoring
sebastienrousseau Nov 5, 2022
ff9a9a0
fix(rsync): fix missing shebang / 'shell' directive.
sebastienrousseau Nov 5, 2022
c6a1255
del(docs): moved to by https://github.com/sebastienrousseau/dotfiles.…
sebastienrousseau Nov 6, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat(aliases):new aliases suite
sebastienrousseau committed Nov 3, 2022

Verified

This commit was signed with the committer’s verified signature. The key has expired.
sebastienrousseau Sebastien Rousseau
commit 05ec4514eaa49e3b385dab491ecaecab03517a9b
23 changes: 23 additions & 0 deletions lib/aliases/default/archiver.aliases.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/usr/bin/env bash
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.462) - https://dotfiles.io
# Made with ♥ in London, UK by @sebastienrousseau
# Copyright (c) 2015-2022. All rights reserved
# License: MIT

# 🅰🆁🅲🅷🅸🆅🅴🆁 🅰🅻🅸🅰🆂🅴🆂
alias c7z='7z a' # c7z: Compress a whole directory (including subdirectories) to a 7z file.
alias cbz2='tar -cvjf' # cbz2: Compress a whole directory (including subdirectories) to a bz2 file.
alias cear='jar cvf' # cear: Compress a whole directory (including subdirectories) to a ear file.
alias cgz='tar -zcvf' # cgz: Compress a whole directory (including subdirectories) to a tarball.
alias cjar='jar cvf' # cjar: Compress a whole directory (including subdirectories) to a jar file.
alias cwar='jar cvf' # cwar: Compress a whole directory (including subdirectories) to a war file.
alias cxz='tar -cvJf' # cxz: Compress a whole directory (including subdirectories) to a xz file.
alias czip='zip -r' # czip: Compress a whole directory (including subdirectories) to a zip file.
alias e7z='7z x' # e7z: Extract a whole directory (including subdirectories) from a 7z file.
alias ebz2='tar -xvjf' # ebz2: Extract a whole directory (including subdirectories) from a bz2 file.
alias eear='jar xvf' # eear: Extract a whole directory (including subdirectories) from a ear file.
alias egz='tar -xvzf' # egz: Extract a whole directory (including subdirectories)
alias ejar='jar xvf' # ejar: Extract a whole directory (including subdirectories) from a jar file.
alias ewar='jar xvf' # ewar: Extract a whole directory (including subdirectories) from a war file.
alias exz='tar -xvJf' # exz: Extract a whole directory (including subdirectories) from a xz file.
alias ezip='unzip' # ezip: Extract a whole directory (including subdirectories) from a zip file.
14 changes: 14 additions & 0 deletions lib/aliases/default/clear.aliases.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/usr/bin/env bash
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.462) - https://dotfiles.io
# Made with ♥ in London, UK by @sebastienrousseau
# Copyright (c) 2015-2022. All rights reserved
# License: MIT

# 🅲🅻🅴🅰🆁 🅰🅻🅸🅰🆂🅴🆂
alias c="clear" # c: Clear screen shortcut.
alias cl="clear" # cl: Clear screen shortcut.
alias clear="clear && printf '\e[3J'" # clear: Clear screen shortcut.
alias clr="clear" # clr: Clear screen shortcut.
alias cls="clear" # cls: Clear screen shortcut.
alias ct="clear && tree ./" # ct: Clear screen and list directory contents.
alias ctree="ct" # ctree: Clear screen and list directory contents.
12 changes: 12 additions & 0 deletions lib/aliases/default/configuration.aliases.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/env bash
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.462) - https://dotfiles.io
# Made with ♥ in London, UK by @sebastienrousseau
# Copyright (c) 2015-2022. All rights reserved
# License: MIT

# 🅲🅾🅽🅵🅸🅶🆄🆁🅰🆃🅸🅾🅽 🅰🅻🅸🅰🆂🅴🆂
alias bash_profile='${=EDITOR} $HOME/.bash_profile' # bash_profile: Ouvre le fichier de configuration bash_profile
alias bashrc='${=EDITOR} $HOME/.bashrc' # bashrc: Ouvre le fichier de configuration bashrc
alias gitconfig='${=EDITOR} $HOME/.gitconfig' # gitconfig: Ouvre le fichier de configuration gitconfig
alias gitignore='${=EDITOR} $HOME/.gitignore' # gitignore: Ouvre le fichier de configuration gitignore
alias zshrc='${=EDITOR} $HOME/.zshrc' # zshrc: Ouvre le fichier de configuration zshrc
215 changes: 69 additions & 146 deletions lib/aliases/default/default.aliases.sh

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions lib/aliases/default/find.aliases.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/usr/bin/env bash
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.462) - https://dotfiles.io
# Made with ♥ in London, UK by @sebastienrousseau
# Copyright (c) 2015-2022. All rights reserved
# License: MIT

# 🅵🅸🅽🅳 🅰🅻🅸🅰🆂🅴🆂
alias fd='fd --color always ' # fd: always colorize output by default.
alias fda='fd --absolute-path' # fda: list all files with absolute path.
alias fdc='fd --ignore-case' # fdc: list all files with case insensitive search.
alias fdd='fd --list-details' # fdd: list all files with details.
alias fde='fd --extension' # fde: list all files with extension.
alias fdf='fd --follow' # fdf: list all files with follow symlinks.
alias fdh='fd --help' # fdh: list all files with help.
alias fdh='fd --hidden' # fdh: list all files with hidden files.
alias fdn='fd --glob' # fdn: list all files with glob.
alias fdo='fd --owner' # fdo: list all files with owner.
alias fds='fd --size' # fds: list all files with size.
alias fdu='fd --exclude' # fdu: list all files with exclude.
alias fdv='fd --version' # fdv: list all files with version.
alias fdx='fd --exec' # fdx: Execute a command for each search result.
alias find='fd' # find: fd is a simple, fast and user-friendly alternative to find.
12 changes: 12 additions & 0 deletions lib/aliases/default/interactive.aliases.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/env bash
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.462) - https://dotfiles.io
# Made with ♥ in London, UK by @sebastienrousseau
# Copyright (c) 2015-2022. All rights reserved
# License: MIT

# 🅸🅽🆃🅴🆁🅰🅲🆃🅸🆅🅴 🅰🅻🅸🅰🆂🅴🆂
alias cp="cp -vi" # cp: Copy files and directories.
alias ln='ln -vi' # ln: interactive symbolic link
alias mv='mv -vi' # mv: Move files interactively (ask before overwrite) and verbose.
alias rm='rm -vi' # rm: Prompts for every file before removing.
alias zap='rm -vi' # zap: Remove files interactively (ask before overwrite).
33 changes: 33 additions & 0 deletions lib/aliases/default/list.aliases.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#!/usr/bin/env bash
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.462) - https://dotfiles.io
# Made with ♥ in London, UK by @sebastienrousseau
# Copyright (c) 2015-2022. All rights reserved
# License: MIT

# 🅻🅸🆂🆃 🅰🅻🅸🅰🆂🅴🆂
alias 'l.'='ls -dlhF .* | grep -v "^d"' # l.: List hidden files.
alias l='ls -lFh' # l: Size, show type, human readable.
alias l1='ls -1' # l1: Display one file per line.
alias la='ls -lAFh' # la: All files, show type, human readable.
alias labc='ls -lap' # labc: List all files in alphabetical order.
alias lc='wc -l' # lc: Count the number of lines in the file.
alias lct='ls -lcrh' # lct: List files by time, newest first.
alias ld='ls -ltrh' # lt: Sort by date, oldest first.
alias ldir="ls -l | egrep '^d'" # ldir: List directories only.
alias ldot="l." # l.: List hidden files.
alias left='ls -t -1' # left: List files by date, most recent last.
alias right='ls -t -1r' # right: List files by date, most recent first.
alias lf="ls -l | egrep -v '^d'" # lf: List files only.
alias lk='ls -lSrh' # lk: Sort by size, largest first.
alias ll='la' # ll: Long list, show almost all, show type, human readable.
alias lla='ls -l -d $PWD/*' # lla: List full path of all files in current directory.
alias locale='locale -a | grep UTF-8' # locale: List all available locales.
alias lp='sudo lsof -i -T -n' # lp: List all open ports.
alias lr='ls -lRh' # lr: Recursive list, show type, human readable.
alias ls='ls --color' # ls: Colorize the output.
alias lS='ls -1FSsh' # lS: Order Files Based on Last Modified Time and size.
alias lt="tree" # lt: List contents of directories in a tree-like format.
alias lu='ls -lurh' # lu: Sort by date, oldest first.
alias lw='ls -xAh' # lw: Wide list, show almost all, show type, human readable.
alias lx='ls | sort -k 1,1 -t .' # lx: Sort by extension.
alias lz='ls -lSr' # lz: Sort by size, smallest first.
15 changes: 15 additions & 0 deletions lib/aliases/default/make.aliases.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.462) - https://dotfiles.io
# Made with ♥ in London, UK by @sebastienrousseau
# Copyright (c) 2015-2022. All rights reserved
# License: MIT

# 🅼🅰🅺🅴 🅰🅻🅸🅰🆂🅴🆂
alias mk='make' # mk: Make.
alias mkc='make clean' # mkc: Make clean.
alias mkd='make doc' # mkd: Make doc.
alias mkf='make format' # mkf: Make format.
alias mkh="make help" # mkh: Make help.
alias mki='make install' # mki: Make install.
alias mkr="make run" # mkr: Make run.
alias mkt='make test' # mkt: Make test.
13 changes: 13 additions & 0 deletions lib/aliases/default/mkdir.aliases.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env bash
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.462) - https://dotfiles.io
# Made with ♥ in London, UK by @sebastienrousseau
# Copyright (c) 2015-2022. All rights reserved
# License: MIT

# 🅼🅰🅺🅴🅳🅸🆁 🅰🅻🅸🅰🆂🅴🆂
alias mcd='mkdir -pv && cd' # mcd: Make directory and cd into it.
alias mcdp='mkdir -pv && cd' # mcdp: Make directory and parents and cd into it.
alias md='mkd' # md: Make directory.
alias mdd='mkdir -pv $(date +%Y%m%d)' # mdd: Make directory with date.
alias mdp='mkdir -pv' # mdp: Make directory and parents.
alias mdt='mkdir -pv $(date +%h%m%s)' # mdt: Make directory with time.
23 changes: 23 additions & 0 deletions lib/aliases/default/navigation.aliases.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/usr/bin/env bash
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.462) - https://dotfiles.io
# Made with ♥ in London, UK by @sebastienrousseau
# Copyright (c) 2015-2022. All rights reserved
# License: MIT

# 🅽🅰🆅🅸🅶🅰🆃🅸🅾🅽 🅰🅻🅸🅰🆂🅴🆂
alias -- -='cd -' # -: Shortcut to go to previous directory.
alias .....='cd ../../../..' # .....: Shortcut to go to great-great-grandparent directory.
alias ....='cd ../../..' # ....: Shortcut to go to great-grandparent directory.
alias ...='cd ../..' # ...: Shortcut to go to grandparent directory.
alias ..='cd ..' # ..: Shortcut to go to parent directory.
alias '~'='cd ~' # ~: Shortcut to go to home directory.
alias app='cd ${HOME}/Applications; ls' # app: Shortcut to go to the Applications directory.
alias cod='cd ${HOME}/Code; ls' # cod: Shortcut to go to the Code directory and list its contents.
alias des='cd ${HOME}/Desktop; ls' # des Shortcut to go to the Desktop directory and list its contents.
alias doc='cd ${HOME}/Documents; ls' # doc: Shortcut to go to the Documents directory and list its contents.
alias dot='cd ${HOME}/.dotfiles; ls' # dot: Shortcut to go to the dotfiles directory.
alias dow='cd ${HOME}/Downloads; ls' # dow: Shortcut to go to the Downloads directory and list its contents.
alias hom='cd ${HOME}/; ls' # hom: Shortcut to go to home directory and list its contents.
alias mus='cd ${HOME}/Music; ls' # mus: Shortcut to go to the Music directory and list its contents.
alias pic='cd ${HOME}/Pictures; ls' # pic: Shortcut to go to the Pictures directory and list its contents.
alias vid='cd ${HOME}/Videos; ls' # vid: Shortcut to go to the Videos directory and list its contents.
26 changes: 26 additions & 0 deletions lib/aliases/default/permission.aliases.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#!/usr/bin/env bash
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.462) - https://dotfiles.io
# Made with ♥ in London, UK by @sebastienrousseau
# Copyright (c) 2015-2022. All rights reserved
# License: MIT

# 🅿🅴🆁🅼🅸🆂🆂🅸🅾🅽 🅰🅻🅸🅰🆂🅴🆂
alias 000='chmod -R 000' # 000: (chmod a-rwx) sets permissions so that, (U)ser / owner can't read, can't write and can't execute. (G)roup can't read, can't write and can't execute. (O)thers can't read, can't write and can't execute.
alias 400='chmod -R 400' # 400: (chmod a-rw) sets permissions so that, (U)ser / owner can't read, can't write and can execute. (G)roup can't read, can't write and can execute. (O)thers can't read, can't write and can execute.
alias 444='chmod -R 444' # 444: (chmod a-r) sets permissions so that, (U)ser / owner can't read, can't write and can execute. (G)roup can't read, can't write and can execute. (O)thers can't read, can't write and can execute.
alias 600='chmod -R 600' # 600: (chmod a+rwx,u-x,g-rwx,o-rwx) sets permissions so that, (U)ser / owner can read, can write and can't execute. (G)roup can't read, can't write and can't execute. (O)thers can't read, can't write and can't execute.
alias 644='chmod -R 644' # 644: (chmod a+rwx,u-x,g-wx,o-wx) sets permissions so that, (U)ser / owner can read, can write and can't execute. (G)roup can read, can't write and can't execute. (O)thers can read, can't write and can't execute.
alias 666='chmod -R 666' # 666: (chmod a+rwx,u-x,g-x,o-x) sets permissions so that, (U)ser / owner can read, can write and can't execute. (G)roup can read, can write and can't execute. (O)thers can read, can write and can't execute.
alias 755='chmod -R 755' # 755: (chmod a+rwx,g-w,o-w) sets permissions so that, (U)ser / owner can read, can write and can execute. (G)roup can read, can't write and can execute. (O)thers can read, can't write and can execute.
alias 764='chmod -R 764' # 764: (chmod a+rwx,g-x,o-wx) sets permissions so that, (U)ser / owner can read, can write and can execute. (G)roup can read, can write and can't execute. (O)thers can read, can't write and can't execute.
alias 777='chmod -R 777' # 777: (chmod a+rwx) sets permissions so that, (U)ser / owner can read, can write and can execute. (G)roup can read, can write and can execute. (O)thers can read, can write and can execute.
alias chgrp='chgrp -v' # chgrp: Change group ownership of files or directories.
alias chgrpr='chgrp -Rv' # chgrpr: Change group ownership of files or directories recursively.
alias chgrpu='chgrp -Rv ${USER}' # chgrpu: Change group ownership of files or directories recursively to the current user.
alias chmod='chmod -v' # chmod: Change file mode bits.
alias chmodr='chmod -Rv' # chmodr: Change file mode bits recursively.
alias chmodu='chmod -Rv u+rwX' # chmodu: Change file mode bits recursively to the current user.
alias chmox='chmod +x' # chmox: Make a file executable.
alias chown='chown -v' # chown: Change file owner and group.
alias chownr='chown -Rv' # chownr: Change file owner and group recursively.
alias chownu='chown -Rv ${USER}' # chownu: Change file owner and group recursively to the current user.
22 changes: 22 additions & 0 deletions lib/aliases/npm/npm.aliases.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/usr/bin/env bash
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.462) - https://dotfiles.io
# Made with ♥ in London, UK by @sebastienrousseau
# Copyright (c) 2015-2022. All rights reserved
# License: MIT

# 🅽🅿🅼 🅰🅻🅸🅰🆂🅴🆂
alias npb='npm build ' # npb: Build npm script.
alias npc='npm cache ' # npc: Cache npm package.
alias npd='npm dev ' # npd: Dev npm script.
alias npg='npm global ' # npg: Global npm package.
alias npi='npm install ' # npi: Install npm package.
alias npl='npm list ' # npl: List npm packages.
alias npp='npm publish ' # npp: Publish npm package.
alias npr='npm run ' # npr: Run npm script.
alias nprw='npm run watch ' # nprw: Run npm script watch.
alias nps='npm start ' # nps: Start npm script.
alias npsv='npm serve ' # npsv: Serve npm script.
alias npt='npm test ' # npt: Test npm script.
alias npu='npm update ' # npu: Update npm package.
alias npx='npm exec ' # npx: Exec npm package.
alias npy='npm why ' # npy: Why npm package.
68 changes: 33 additions & 35 deletions lib/aliases/pnpm/pnpm.aliases.sh
Original file line number Diff line number Diff line change
@@ -5,38 +5,36 @@
# License: MIT

# 🅿🅽🅿🅼 🅰🅻🅸🅰🆂🅴🆂 - Pnpm aliases

### ALIASES ###
alias pn='pnpm'
alias pa='pnpm add'
alias pad='pnpm add --save-dev'
alias pap='pnpm add --save-peer'
alias pau='pnpm audit'
alias pb='pnpm run build'
alias pc='pnpm create'
alias pd='pnpm run dev'
alias pdoc='pnpm run doc'
alias pga='pnpm add --global'
alias pgls='pnpm list --global'
alias pgrm='pnpm remove --global'
alias pgu='pnpm update --global'
alias ph='pnpm help'
alias pi='pnpm init'
alias pin='pnpm install'
alias pln='pnpm run lint'
alias pls='pnpm list'
alias pout='pnpm outdated'
alias ppub='pnpm publish'
alias prm='pnpm remove'
alias prun='pnpm run'
alias ps='pnpm run serve'
alias pst='pnpm start'
alias psv='pnpm server'
alias pt='pnpm test'
alias ptc='pnpm test --coverage'
alias pui='pnpm update --interactive'
alias puil='pnpm update --interactive --latest'
alias pun='pnpm uninstall'
alias pup='pnpm update'
alias pwhy='pnpm why'
alias px='pnpx'
alias pa='pnpm add' # pa: Add a dependency to the project.
alias pad='pnpm add --save-dev' # pad: Add a dev dependency to the project.
alias pap='pnpm add --save-peer' # pap: Add a peer dependency to the project.
alias pau='pnpm audit' # pau: Audit the project.
alias pb='pnpm run build' # pb: Build the project.
alias pc='pnpm create' # pc: Create a new project.
alias pd='pnpm run dev' # pd: Run the project in dev mode.
alias pdoc='pnpm run doc' # pdoc: Generate the project documentation.
alias pga='pnpm add --global' # pga: Add a global dependency.
alias pgls='pnpm list --global' # pgls: List all global dependencies.
alias pgrm='pnpm remove --global' # pgrm: Remove a global dependency.
alias pgu='pnpm update --global' # pgu: Update a global dependency.
alias ph='pnpm help' # ph: Show the help.
alias pi='pnpm init' # pi: Initialize a new project.
alias pin='pnpm install' # pin: Install the project dependencies.
alias pln='pnpm run lint' # pln: Lint the project.
alias pls='pnpm list' # pls: List all dependencies.
alias pn='pnpm' # pn: Shortcut to pnpm.
alias pout='pnpm outdated' # pout: Check for outdated dependencies.
alias ppub='pnpm publish' # ppub: Publish the project.
alias prm='pnpm remove' # prm: Remove a dependency from the project.
alias prun='pnpm run' # prun: Run a script from the project.
alias ps='pnpm run serve' # ps: Run the project in serve mode.
alias pst='pnpm start' # pst: Start the project.
alias psv='pnpm server' # psv: Run the project in server mode.
alias pt='pnpm test' # pt: Test the project.
alias ptc='pnpm test --coverage' # ptc: Test the project with coverage.
alias pui='pnpm update --interactive' # pui: Update a dependency interactively.
alias puil='pnpm update --interactive --latest' # puil: Update a dependency interactively to the latest version.
alias pun='pnpm uninstall' # pun: Uninstall the project dependencies.
alias pup='pnpm update' # pup: Update a dependency.
alias pwhy='pnpm why' # pwhy: Check why a dependency is installed.
alias px='pnpx' # px: Shortcut to pnpx.
46 changes: 46 additions & 0 deletions lib/aliases/rust/rust.aliases.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
#!/usr/bin/env bash
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.462) - https://dotfiles.io
# Made with ♥ in London, UK by @sebastienrousseau
# Copyright (c) 2015-2022. All rights reserved
# License: MIT

# 🅲🅰🆁🅶🅾 🅰🅻🅸🅰🆂🅴🆂
alias c='cargo' # c: Cargo shortcut.
alias cgb='c build' # cgb: Cargo build.
alias cgbh='c bench' # cgbh: Cargo bench.
alias cgbr='c build --release' # cbr: Cargo build release.
alias cgc='c check' # cgc: Cargo check.
alias cgcl='c clean' # cgcl: Cargo clean.
alias cgcy='c clippy' # cgcy: Cargo clippy.
alias cgd='c doc --open' # cgd: Cargo doc.
alias cgdr='c doc --release' # cgdr: Cargo doc release.
alias cgf='c fmt' # cgf: Cargo format.
alias cgi='c install' # cgi: Cargo install.
alias cginit='c init' # cginit: Cargo init.
alias cgn='c new' # cgn: Cargo new.
alias cgp='c publish' # cgp: Cargo publish.
alias cgr='c run' # cgr: Cargo run.
alias cgrr='c run --release' # cgrr: Cargo run release.
alias cgs='c search' # cgs: Cargo search.
alias cgt='c test' # cgt: Cargo test.
alias cgtr='c test --release' # cgtr: Cargo test release.
alias cgtt='c tree' # cgtt: Cargo tree.
alias cgu='c update' # cgu: Cargo update.
alias cgun='c uninstall' # cgun: Cargo uninstall.

# 🆁🆄🆂🆃🆄🅿 🅰🅻🅸🅰🆂🅴🆂
alias ru='rustup update' # ru: Rustup update.
alias rca='rustup component add' # rca: Rustup component add.
alias rcl='rustup component list' # rcl: Rustup component list.
alias rcr='rustup component remove' # rcr: Rustup component remove.
alias rde='rustup default' # rde: Rustup default.
alias rnn='rustup run nightly' # rnn: Run rustup nightly.
alias rns='rustup run stable' # rls: Run rustup stable.
alias rtaa='rustup target add' # rtaa: Rustup target add.
alias rtal='rustup target list' # rtal: Rustup target list.
alias rtar='rustup target remove' # rtar: Rustup target remove.
alias rti='rustup toolchain install' # rti: Rustup toolchain install.
alias rtl='rustup toolchain list' # rtl: Rustup toolchain list.
alias rtu='rustup toolchain uninstall' # rtu: Rustup toolchain uninstall.
alias ruc='rustup update nightly' # ruc: Update rustup nightly.
alias rus='rustup update stable' # rus: Update rustup stable.