@sebastienrousseau/dotfiles 0.2.461 β 0.2.463
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +116 -92
- package/dist/Makefile +3 -3
- package/dist/bin/backup.js +3 -2
- package/dist/bin/backup.js.map +1 -1
- package/dist/bin/constants.d.ts +2 -2
- package/dist/bin/constants.js +1 -1
- package/dist/bin/copy.js +2 -1
- package/dist/bin/copy.js.map +1 -1
- package/dist/bin/dotfiles.js +1 -1
- package/dist/bin/dotfiles.js.map +1 -1
- package/dist/bin/download.d.ts +2 -2
- package/dist/bin/download.d.ts.map +1 -1
- package/dist/bin/download.js +2 -1
- package/dist/bin/download.js.map +1 -1
- package/dist/bin/index.js +1 -1
- package/dist/bin/transfer.js +1 -1
- package/dist/bin/unpack.js +1 -1
- package/dist/filesizes.txt +354 -288
- package/dist/lib/aliases/archives/README.md +84 -0
- package/dist/lib/aliases/archives/archives.aliases.sh +86 -0
- package/dist/lib/aliases/cd/README.md +46 -0
- package/dist/lib/aliases/cd/cd.aliases.sh +42 -0
- package/dist/lib/aliases/chmod/README.md +70 -0
- package/dist/lib/aliases/chmod/chmod.aliases.sh +73 -0
- package/dist/lib/aliases/clear/README.md +38 -0
- package/dist/lib/aliases/clear/clear.aliases.sh +40 -0
- package/dist/lib/aliases/configuration/README.md +46 -0
- package/dist/lib/aliases/configuration/configuration.aliases.sh +43 -0
- package/dist/lib/aliases/default/README.md +62 -0
- package/dist/lib/aliases/default/default.aliases.sh +60 -173
- package/dist/lib/aliases/dig/README.md +50 -0
- package/dist/lib/aliases/dig/dig.aliases.sh +46 -0
- package/dist/lib/aliases/du/README.md +35 -0
- package/dist/lib/aliases/du/du.aliases.sh +37 -0
- package/dist/lib/aliases/editor/README.md +47 -0
- package/dist/lib/aliases/editor/editor.aliases.sh +52 -0
- package/dist/lib/aliases/find/README.md +29 -0
- package/dist/lib/aliases/find/find.aliases.sh +34 -0
- package/dist/lib/aliases/gcloud/README.md +148 -0
- package/dist/lib/aliases/gcloud/gcloud.aliases.sh +144 -120
- package/dist/lib/aliases/git/git.aliases.sh +134 -524
- package/dist/lib/aliases/gnu/gnucoreutils-aliases.sh +116 -0
- package/dist/lib/aliases/heroku/heroku.aliases.sh +289 -1028
- package/dist/lib/aliases/interactive/interactive.aliases.sh +14 -0
- package/dist/lib/aliases/jekyll/jekyll.aliases.sh +10 -47
- package/dist/lib/aliases/list/list.aliases.sh +35 -0
- package/dist/lib/aliases/make/make.aliases.sh +15 -0
- package/dist/lib/aliases/mkdir/mkdir.aliases.sh +13 -0
- package/dist/lib/aliases/npm/npm.aliases.sh +24 -0
- package/dist/lib/aliases/pnpm/pnpm.aliases.sh +37 -38
- package/dist/lib/aliases/ps/ps.aliases.sh +12 -0
- package/dist/lib/aliases/rsync/rsync.aliases.sh +11 -0
- package/dist/lib/aliases/rust/rust.aliases.sh +50 -0
- package/dist/lib/aliases/subversion/subversion.aliases.sh +41 -119
- package/dist/lib/aliases/sudo/sudo.aliases.sh +11 -0
- package/dist/lib/aliases/tmux/tmux.aliases.sh +12 -10
- package/dist/lib/aliases/update/update.aliases.sh +38 -0
- package/dist/lib/aliases/uuid/uuid.aliases.sh +10 -0
- package/dist/lib/aliases/wget/wget.aliases.sh +13 -0
- package/dist/lib/aliases.sh +10 -4
- package/dist/lib/configurations/bash/bashrc +4 -3
- package/dist/lib/configurations/curl/curlrc +2 -2
- package/dist/lib/configurations/default/color.sh +2 -2
- package/dist/lib/configurations/default/constants.sh +9 -9
- package/dist/lib/configurations/default/editor.sh +2 -2
- package/dist/lib/configurations/default/prompt.sh +2 -2
- package/dist/lib/configurations/input/inputrc +2 -2
- package/dist/lib/configurations/nano/nanorc +2 -2
- package/dist/lib/configurations/profile/profile +2 -2
- package/dist/lib/configurations/tmux/default +2 -2
- package/dist/lib/configurations/tmux/display +2 -2
- package/dist/lib/configurations/tmux/linux +2 -2
- package/dist/lib/configurations/tmux/navigation +2 -2
- package/dist/lib/configurations/tmux/panes +2 -2
- package/dist/lib/configurations/tmux/theme +3 -3
- package/dist/lib/configurations/tmux/tmux +2 -2
- package/dist/lib/configurations/tmux/vi +5 -2
- package/dist/lib/configurations/vim/vimrc +1 -1
- package/dist/lib/configurations/wget/wgetrc +2 -2
- package/dist/lib/configurations/zsh/zshrc +6 -5
- package/dist/lib/configurations.sh +6 -3
- package/dist/lib/functions/cdls.sh +3 -10
- package/dist/lib/functions/changediskpwd.tmp +3 -3
- package/dist/lib/functions/code.tmp +3 -3
- package/dist/lib/functions/countdown.tmp +2 -2
- package/dist/lib/functions/curlheader.sh +5 -5
- package/dist/lib/functions/curltime.sh +6 -6
- package/dist/lib/functions/encode64.sh +2 -2
- package/dist/lib/functions/environment.sh +2 -2
- package/dist/lib/functions/extract.sh +2 -2
- package/dist/lib/functions/genpwd.sh +2 -2
- package/dist/lib/functions/goto.sh +2 -2
- package/dist/lib/functions/hidehiddenfiles.sh +2 -2
- package/dist/lib/functions/history-all.tmp +2 -2
- package/dist/lib/functions/hostinfo.sh +2 -2
- package/dist/lib/functions/hstats.sh +2 -2
- package/dist/lib/functions/httpdebug.sh +2 -2
- package/dist/lib/functions/keygen.sh +2 -2
- package/dist/lib/functions/last.sh +2 -2
- package/dist/lib/functions/logout.sh +2 -2
- package/dist/lib/functions/lowercase.sh +2 -2
- package/dist/lib/functions/macos.sh +2 -2
- package/dist/lib/functions/matrix.sh +5 -5
- package/dist/lib/functions/{mcd.sh β mcd.tmp} +2 -2
- package/dist/lib/functions/mount_read_only.sh +2 -2
- package/dist/lib/functions/myproc.sh +2 -2
- package/dist/lib/functions/prependpath.sh +2 -2
- package/dist/lib/functions/print.tmp +2 -2
- package/dist/lib/functions/ql.sh +2 -2
- package/dist/lib/functions/rd.sh +2 -2
- package/dist/lib/functions/remove_disk.sh +2 -2
- package/dist/lib/functions/ren.sh +2 -2
- package/dist/lib/functions/rm.tmp +2 -2
- package/dist/lib/functions/rps.tmp +2 -2
- package/dist/lib/functions/showhiddenfiles.sh +2 -2
- package/dist/lib/functions/size.sh +2 -2
- package/dist/lib/functions/stopwatch.sh +2 -2
- package/dist/lib/functions/trash.tmp +2 -2
- package/dist/lib/functions/tree.tmp +2 -2
- package/dist/lib/functions/uppercase.sh +2 -2
- package/dist/lib/functions/uuidgen.tmp +1 -1
- package/dist/lib/functions/view-source.sh +2 -2
- package/dist/lib/functions/vscode.sh +2 -2
- package/dist/lib/functions/whoisport.sh +2 -2
- package/dist/lib/functions/zipf.sh +2 -2
- package/dist/lib/functions.sh +6 -3
- package/dist/lib/history.sh +24 -21
- package/dist/lib/paths/ant/ant.paths.sh +4 -4
- package/dist/lib/paths/default/default.paths.sh +2 -2
- package/dist/lib/paths/homebrew/homebrew.paths.sh +2 -2
- package/dist/lib/paths/java/java.paths.sh +5 -4
- package/dist/lib/paths/maven/maven.paths.sh +6 -5
- package/dist/lib/paths/node/node.paths.sh +2 -2
- package/dist/lib/paths/nvm/nvm.paths.sh +2 -2
- package/dist/lib/paths/pnpm/pnpm.paths.sh +2 -2
- package/dist/lib/paths/python/python.paths.sh +21 -16
- package/dist/lib/paths/ruby/ruby.paths.sh +2 -2
- package/dist/lib/paths/tmux/tmux.paths.sh +4 -4
- package/dist/lib/paths.sh +6 -3
- package/dist/scripts/backup.sh +2 -2
- package/dist/scripts/banner.sh +2 -2
- package/dist/scripts/build.sh +2 -2
- package/dist/scripts/clean.sh +2 -2
- package/dist/scripts/compile.sh +2 -2
- package/dist/scripts/copy.sh +2 -2
- package/dist/scripts/dotfiles.sh +2 -2
- package/dist/scripts/download.sh +2 -2
- package/dist/scripts/help.sh +2 -2
- package/dist/scripts/ssh.sh +54 -0
- package/dist/scripts/unpack.sh +2 -2
- package/package.json +7 -7
- package/dist/lib/exit.sh +0 -10
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
|
+
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
|
+
# License: MIT
|
|
6
|
+
|
|
7
|
+
# π
Έπ
½ππ
΄ππ
°π
²ππ
Έπ
π
΄ π
°π
»π
Έπ
°ππ
΄π
|
|
8
|
+
alias bin='rm -fr ${HOME}/.Trash' # bin: Remove all files in the trash.
|
|
9
|
+
alias cp="cp -vi" # cp: Copy files and directories.
|
|
10
|
+
alias del="rm -rfvi" # del: Remove a file or directory.
|
|
11
|
+
alias ln='ln -vi' # ln: interactive symbolic link
|
|
12
|
+
alias mv='mv -vi' # mv: Move files interactively (ask before overwrite) and verbose.
|
|
13
|
+
alias rm='rm -vi' # rm: Prompts for every file before removing.
|
|
14
|
+
alias zap='rm -vi' # zap: Remove files interactively (ask before overwrite).
|
|
@@ -1,52 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c)
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# π
Ήπ
΄π
Ίππ
»π
» π
°π
»π
Έπ
°ππ
΄π - Jekyll aliases.
|
|
8
|
-
|
|
9
|
-
#
|
|
10
|
-
#
|
|
11
|
-
#
|
|
12
|
-
#
|
|
13
|
-
#
|
|
14
|
-
#
|
|
15
|
-
|
|
16
|
-
# Copyright (c) 2022. All rights reserved
|
|
17
|
-
# Licensed under the MIT license
|
|
18
|
-
#
|
|
19
|
-
|
|
20
|
-
## ----------------------------------------------------------------------------
|
|
21
|
-
## 1. Jekyll Core aliases.
|
|
22
|
-
## ----------------------------------------------------------------------------
|
|
23
|
-
|
|
24
|
-
## ----------------------------------------------------------------------------
|
|
25
|
-
## 1.1 Jekyll development aliases.
|
|
26
|
-
## ----------------------------------------------------------------------------
|
|
27
|
-
|
|
28
|
-
# jkb: Performs a one off build your site to ./_site.
|
|
29
|
-
alias jkb='JEKYLL_ENV=development bundle exec jekyll build'
|
|
30
|
-
|
|
31
|
-
# jkc: Removes all generated files: destination folder, metadata file, Sass and
|
|
32
|
-
# Jekyll caches.
|
|
33
|
-
alias jkc='JEKYLL_ENV=development bundle exec jekyll clean'
|
|
34
|
-
|
|
35
|
-
# jkd: Does a development build of the site to '_site' and runs a local
|
|
36
|
-
# development server.
|
|
37
|
-
alias jkd='JEKYLL_ENV=development bundle exec jekyll serve --watch --trace'
|
|
38
|
-
|
|
39
|
-
# jkl: Does a development build of the site to '_site' and runs a
|
|
40
|
-
# local development server.
|
|
41
|
-
alias jkl='JEKYLL_ENV=development bundle exec jekyll serve --livereload'
|
|
42
|
-
|
|
43
|
-
# jko: Open local development server.
|
|
44
|
-
alias jko="open http://localhost:4000/"
|
|
45
|
-
|
|
46
|
-
## ----------------------------------------------------------------------------
|
|
47
|
-
## 1.2 Jekyll release aliases.
|
|
48
|
-
## ----------------------------------------------------------------------------
|
|
49
|
-
|
|
50
|
-
# jkp: Does a production build of the site to '_site' and runs a local
|
|
51
|
-
# development server.
|
|
52
|
-
alias jkp='JEKYLL_ENV=production bundle exec jekyll serve --watch --trace'
|
|
8
|
+
if command -v 'jekyll' >/dev/null; then
|
|
9
|
+
alias jkb='JEKYLL_ENV=development bundle exec jekyll build' # jkb: Performs a one off build your site to ./_site.
|
|
10
|
+
alias jkc='JEKYLL_ENV=development bundle exec jekyll clean' # jkc: Removes all generated files: destination folder, metadata file, Sass and Jekyll caches.
|
|
11
|
+
alias jkd='JEKYLL_ENV=development bundle exec jekyll serve --watch --trace' # jkd: Does a development build of the site to '_site' and runs a local development server.
|
|
12
|
+
alias jkl='JEKYLL_ENV=development bundle exec jekyll serve --livereload' # jkl: Does a development build of the site to '_site' and runs a local development server.
|
|
13
|
+
alias jko="open http://localhost:4000/" # jko: Open local development server.
|
|
14
|
+
alias jkp='JEKYLL_ENV=production bundle exec jekyll serve --watch --trace' # jkp: Does a production build of the site to '_site' and runs a local development server.
|
|
15
|
+
fi
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
|
+
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
|
+
# License: MIT
|
|
6
|
+
|
|
7
|
+
# π
»π
Έππ π
°π
»π
Έπ
°ππ
΄π
|
|
8
|
+
if command -v 'ls' >/dev/null; then
|
|
9
|
+
alias 'l.'='ls -dlhF .* | grep -v "^d"' # l.: List hidden files.
|
|
10
|
+
alias l='ls -lFh' # l: Size, show type, human readable.
|
|
11
|
+
alias l1='ls -1' # l1: Display one file per line.
|
|
12
|
+
alias la='ls -lAFh' # la: All files, show type, human readable.
|
|
13
|
+
alias labc='ls -lap' # labc: List all files in alphabetical order.
|
|
14
|
+
alias lc='wc -l' # lc: Count the number of lines in the file.
|
|
15
|
+
alias lct='ls -lcrh' # lct: List files by time, newest first.
|
|
16
|
+
alias ld='ls -ltrh' # lt: Sort by date, oldest first.
|
|
17
|
+
alias ldir="ls -l | egrep '^d'" # ldir: List directories only.
|
|
18
|
+
alias ldot="l." # l.: List hidden files.
|
|
19
|
+
alias left='ls -t -1' # left: List files by date, most recent last.
|
|
20
|
+
alias right='ls -t -1r' # right: List files by date, most recent first.
|
|
21
|
+
alias lf="ls -l | egrep -v '^d'" # lf: List files only.
|
|
22
|
+
alias lk='ls -lSrh' # lk: Sort by size, largest first.
|
|
23
|
+
alias ll='la' # ll: Long list, show almost all, show type, human readable.
|
|
24
|
+
alias lla='ls -l -d $PWD/*' # lla: List full path of all files in current directory.
|
|
25
|
+
alias locale='locale -a | grep UTF-8' # locale: List all available locales.
|
|
26
|
+
alias lp='sudo lsof -i -T -n' # lp: List all open ports.
|
|
27
|
+
alias lr='ls -lRh' # lr: Recursive list, show type, human readable.
|
|
28
|
+
alias ls='ls --color' # ls: Colorize the output.
|
|
29
|
+
alias lS='ls -1FSsh' # lS: Order Files Based on Last Modified Time and size.
|
|
30
|
+
alias lt="tree" # lt: List contents of directories in a tree-like format.
|
|
31
|
+
alias lu='ls -lurh' # lu: Sort by date, oldest first.
|
|
32
|
+
alias lw='ls -xAh' # lw: Wide list, show almost all, show type, human readable.
|
|
33
|
+
alias lx='ls | sort -k 1,1 -t .' # lx: Sort by extension.
|
|
34
|
+
alias lz='ls -lSr' # lz: Sort by size, smallest first.
|
|
35
|
+
fi
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
|
+
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
|
+
# License: MIT
|
|
6
|
+
|
|
7
|
+
# π
Όπ
°π
Ίπ
΄ π
°π
»π
Έπ
°ππ
΄π
|
|
8
|
+
alias mk='make' # mk: Make.
|
|
9
|
+
alias mkc='make clean' # mkc: Make clean.
|
|
10
|
+
alias mkd='make doc' # mkd: Make doc.
|
|
11
|
+
alias mkf='make format' # mkf: Make format.
|
|
12
|
+
alias mkh="make help" # mkh: Make help.
|
|
13
|
+
alias mki='make install' # mki: Make install.
|
|
14
|
+
alias mkr="make run" # mkr: Make run.
|
|
15
|
+
alias mkt='make test' # mkt: Make test.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
|
+
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
|
+
# License: MIT
|
|
6
|
+
|
|
7
|
+
# π
Όπ
°π
Ίπ
΄π
³π
Έπ π
°π
»π
Έπ
°ππ
΄π
|
|
8
|
+
alias mcd='mkdir -pv && cd' # mcd: Make directory and cd into it.
|
|
9
|
+
alias mcdp='mkdir -pv && cd' # mcdp: Make directory and parents and cd into it.
|
|
10
|
+
alias md='mkd' # md: Make directory.
|
|
11
|
+
alias mdd='mkdir -pv $(date +%Y%m%d)' # mdd: Make directory with date.
|
|
12
|
+
alias mdp='mkdir -pv' # mdp: Make directory and parents.
|
|
13
|
+
alias mdt='mkdir -pv $(date +%h%m%s)' # mdt: Make directory with time.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
|
+
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
|
+
# License: MIT
|
|
6
|
+
|
|
7
|
+
# π
½π
Ώπ
Ό π
°π
»π
Έπ
°ππ
΄π
|
|
8
|
+
if command -v npm &>/dev/null; then
|
|
9
|
+
alias npb='npm build' # npb: Build npm script.
|
|
10
|
+
alias npc='npm cache' # npc: Cache npm package.
|
|
11
|
+
alias npd='npm dev' # npd: Dev npm script.
|
|
12
|
+
alias npg='npm global' # npg: Global npm package.
|
|
13
|
+
alias npi='npm install' # npi: Install npm package.
|
|
14
|
+
alias npl='npm list' # npl: List npm packages.
|
|
15
|
+
alias npp='npm publish' # npp: Publish npm package.
|
|
16
|
+
alias npr='npm run' # npr: Run npm script.
|
|
17
|
+
alias nprw='npm run watch' # nprw: Run npm script watch.
|
|
18
|
+
alias nps='npm start' # nps: Start npm script.
|
|
19
|
+
alias npsv='npm serve' # npsv: Serve npm script.
|
|
20
|
+
alias npt='npm test' # npt: Test npm script.
|
|
21
|
+
alias npu='npm update' # npu: Update npm package.
|
|
22
|
+
alias npx='npm exec' # npx: Exec npm package.
|
|
23
|
+
alias npy='npm why' # npy: Why npm package.
|
|
24
|
+
fi
|
|
@@ -1,43 +1,42 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c)
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# π
Ώπ
½π
Ώπ
Ό π
°π
»π
Έπ
°ππ
΄π - Pnpm aliases
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
alias
|
|
11
|
-
alias
|
|
12
|
-
alias
|
|
13
|
-
alias
|
|
14
|
-
alias
|
|
15
|
-
alias
|
|
16
|
-
alias
|
|
17
|
-
alias
|
|
18
|
-
alias
|
|
19
|
-
alias
|
|
20
|
-
alias
|
|
21
|
-
alias
|
|
22
|
-
alias
|
|
23
|
-
alias
|
|
24
|
-
alias
|
|
25
|
-
alias
|
|
26
|
-
alias
|
|
27
|
-
alias
|
|
28
|
-
alias
|
|
29
|
-
alias
|
|
30
|
-
alias
|
|
31
|
-
alias
|
|
32
|
-
alias
|
|
33
|
-
alias
|
|
34
|
-
alias
|
|
35
|
-
alias
|
|
36
|
-
alias
|
|
37
|
-
alias
|
|
38
|
-
alias
|
|
39
|
-
alias
|
|
40
|
-
alias
|
|
41
|
-
alias
|
|
42
|
-
|
|
43
|
-
alias px='pnpx'
|
|
8
|
+
if command -v 'pnpm' >/dev/null; then
|
|
9
|
+
alias pna='pnpm add' # pna: Add a dependency to the project.
|
|
10
|
+
alias pnad='pnpm add --save-dev' # pnad: Add a dev dependency to the project.
|
|
11
|
+
alias pnap='pnpm add --save-peer' # pnap: Add a peer dependency to the project.
|
|
12
|
+
alias pnau='pnpm audit' # pnau: Audit the project.
|
|
13
|
+
alias pnb='pnpm run build' # pnb: Build the project.
|
|
14
|
+
alias pnc='pnpm create' # pnc: Create a new project.
|
|
15
|
+
alias pnd='pnpm run dev' # pnd: Run the project in dev mode.
|
|
16
|
+
alias pndoc='pnpm run doc' # pndoc: Generate the project documentation.
|
|
17
|
+
alias pnga='pnpm add --global' # pnga: Add a global dependency.
|
|
18
|
+
alias pngls='pnpm list --global' # pngls: List all global dependencies.
|
|
19
|
+
alias pngrm='pnpm remove --global' # pngrm: Remove a global dependency.
|
|
20
|
+
alias pngu='pnpm update --global' # pngu: Update a global dependency.
|
|
21
|
+
alias pnh='pnpm help' # pnh: Show the help.
|
|
22
|
+
alias pni='pnpm init' # pni: Initialize a new project.
|
|
23
|
+
alias pnin='pnpm install' # pnin: Install the project dependencies.
|
|
24
|
+
alias pnln='pnpm run lint' # pnln: Lint the project.
|
|
25
|
+
alias pnls='pnpm list' # pnls: List all dependencies.
|
|
26
|
+
alias pnout='pnpm outdated' # pnout: Check for outdated dependencies.
|
|
27
|
+
alias pnp='pnpm' # pnp: Shortcut to pnpm.
|
|
28
|
+
alias pnpub='pnpm publish' # pnpub: Publish the project.
|
|
29
|
+
alias pnrm='pnpm remove' # pnrm: Remove a dependency from the project.
|
|
30
|
+
alias pnrun='pnpm run' # pnrun: Run a script from the project.
|
|
31
|
+
alias pns='pnpm run serve' # pns: Run the project in serve mode.
|
|
32
|
+
alias pnst='pnpm start' # pnst: Start the project.
|
|
33
|
+
alias pnsv='pnpm server' # pnsv: Run the project in server mode.
|
|
34
|
+
alias pnt='pnpm test' # pnt: Test the project.
|
|
35
|
+
alias pntc='pnpm test --coverage' # pntc: Test the project with coverage.
|
|
36
|
+
alias pnui='pnpm update --interactive' # pnui: Update a dependency interactively.
|
|
37
|
+
alias pnuil='pnpm update --interactive --latest' # pnuil: Update a dependency interactively to the latest version.
|
|
38
|
+
alias pnun='pnpm uninstall' # pnun: Uninstall the project dependencies.
|
|
39
|
+
alias pnup='pnpm update' # pnup: Update a dependency.
|
|
40
|
+
alias pnwhy='pnpm why' # pnwhy: Check why a dependency is installed.
|
|
41
|
+
alias pnx='pnpx' # pnx: Shortcut to pnpx.
|
|
42
|
+
fi
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
|
+
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
|
+
# License: MIT
|
|
6
|
+
|
|
7
|
+
# π
Ώπ π
°π
»π
Έπ
°ππ
΄π - PS aliases
|
|
8
|
+
if command -v 'ps' >/dev/null; then
|
|
9
|
+
alias pid='ps -f' # pid: Display the uid, pid, parent pid, recent CPU usage, process start time, controlling tty, elapsed CPU usage, and the associated command.
|
|
10
|
+
alias ps='ps -ef' # ps: Display all processes.
|
|
11
|
+
alias psa='ps aux' # psa: List all processes.
|
|
12
|
+
fi
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
|
+
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
|
+
# License: MIT
|
|
6
|
+
|
|
7
|
+
# ππππ
½π
² π
°π
»π
Έπ
°ππ
΄π
|
|
8
|
+
if command -v 'rsync' >/dev/null; then
|
|
9
|
+
alias rs='rsync -avz' # rs: Rsync with verbose and progress.
|
|
10
|
+
alias rsync='rs' # rsync: Rsync with verbose and progress.
|
|
11
|
+
fi
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
|
+
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
|
+
# License: MIT
|
|
6
|
+
|
|
7
|
+
# π
²π
°ππ
Άπ
Ύ π
°π
»π
Έπ
°ππ
΄π
|
|
8
|
+
if command -v 'cargo' >/dev/null; then
|
|
9
|
+
alias cg='cargo' # c: Cargo shortcut.
|
|
10
|
+
alias cgb='cg build' # cgb: Cargo build.
|
|
11
|
+
alias cgbh='cg bench' # cgbh: Cargo bench.
|
|
12
|
+
alias cgbr='cg build --release' # cbr: Cargo build release.
|
|
13
|
+
alias cgc='cg check' # cgc: Cargo check.
|
|
14
|
+
alias cgcl='cg clean' # cgcl: Cargo clean.
|
|
15
|
+
alias cgcy='cg clippy' # cgcy: Cargo clippy.
|
|
16
|
+
alias cgd='cg doc --open' # cgd: Cargo doc.
|
|
17
|
+
alias cgdr='cg doc --release' # cgdr: Cargo doc release.
|
|
18
|
+
alias cgf='cg fmt' # cgf: Cargo format.
|
|
19
|
+
alias cgi='cg install' # cgi: Cargo install.
|
|
20
|
+
alias cginit='cg init' # cginit: Cargo init.
|
|
21
|
+
alias cgn='cg new' # cgn: Cargo new.
|
|
22
|
+
alias cgp='cg publish' # cgp: Cargo publish.
|
|
23
|
+
alias cgr='cg run' # cgr: Cargo run.
|
|
24
|
+
alias cgrr='cg run --release' # cgrr: Cargo run release.
|
|
25
|
+
alias cgs='cg search' # cgs: Cargo search.
|
|
26
|
+
alias cgt='cg test' # cgt: Cargo test.
|
|
27
|
+
alias cgtr='cg test --release' # cgtr: Cargo test release.
|
|
28
|
+
alias cgtt='cg tree' # cgtt: Cargo tree.
|
|
29
|
+
alias cgu='cg update' # cgu: Cargo update.
|
|
30
|
+
alias cgun='cg uninstall' # cgun: Cargo uninstall.
|
|
31
|
+
fi
|
|
32
|
+
|
|
33
|
+
# ππππππ
Ώ π
°π
»π
Έπ
°ππ
΄π
|
|
34
|
+
if command -v 'rustup' >/dev/null; then
|
|
35
|
+
alias ru='rustup update' # ru: Rustup update.
|
|
36
|
+
alias rca='rustup component add' # rca: Rustup component add.
|
|
37
|
+
alias rcl='rustup component list' # rcl: Rustup component list.
|
|
38
|
+
alias rcr='rustup component remove' # rcr: Rustup component remove.
|
|
39
|
+
alias rde='rustup default' # rde: Rustup default.
|
|
40
|
+
alias rnn='rustup run nightly' # rnn: Run rustup nightly.
|
|
41
|
+
alias rns='rustup run stable' # rls: Run rustup stable.
|
|
42
|
+
alias rtaa='rustup target add' # rtaa: Rustup target add.
|
|
43
|
+
alias rtal='rustup target list' # rtal: Rustup target list.
|
|
44
|
+
alias rtar='rustup target remove' # rtar: Rustup target remove.
|
|
45
|
+
alias rti='rustup toolchain install' # rti: Rustup toolchain install.
|
|
46
|
+
alias rtl='rustup toolchain list' # rtl: Rustup toolchain list.
|
|
47
|
+
alias rtu='rustup toolchain uninstall' # rtu: Rustup toolchain uninstall.
|
|
48
|
+
alias ruc='rustup update nightly' # ruc: Update rustup nightly.
|
|
49
|
+
alias rus='rustup update stable' # rus: Update rustup stable.
|
|
50
|
+
fi
|
|
@@ -1,124 +1,46 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c)
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# πππ
±π
π
΄πππ
Έπ
Ύπ
½ π
°π
»π
Έπ
°ππ
΄π - Subversion aliases.
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
#
|
|
14
|
-
alias
|
|
15
|
-
|
|
16
|
-
#
|
|
17
|
-
alias
|
|
18
|
-
|
|
19
|
-
#
|
|
20
|
-
alias
|
|
21
|
-
|
|
22
|
-
#
|
|
23
|
-
alias
|
|
24
|
-
|
|
25
|
-
#
|
|
26
|
-
alias
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
#
|
|
30
|
-
alias
|
|
31
|
-
|
|
32
|
-
#
|
|
33
|
-
alias
|
|
34
|
-
|
|
35
|
-
#
|
|
36
|
-
alias
|
|
37
|
-
|
|
38
|
-
#
|
|
39
|
-
alias
|
|
40
|
-
|
|
41
|
-
#
|
|
42
|
-
alias
|
|
43
|
-
|
|
44
|
-
#
|
|
45
|
-
alias
|
|
46
|
-
|
|
47
|
-
# shp: Describe the usage of this program or its subcommands.
|
|
48
|
-
alias shp='svn help'
|
|
49
|
-
|
|
50
|
-
# sin: Display information about a local or remote item.
|
|
51
|
-
alias sin='svn info'
|
|
52
|
-
|
|
53
|
-
# sip: Commit an unversioned file or tree into the repository.
|
|
54
|
-
alias sip='svn import'
|
|
55
|
-
|
|
56
|
-
# slg: Show the log messages for a set of revision(s) and/or path(s).
|
|
57
|
-
alias slg='svn log'
|
|
58
|
-
|
|
59
|
-
# slock: Lock working copy paths or URLs in the repository, so that no other
|
|
60
|
-
# user can commit changes to them.
|
|
61
|
-
alias slk='svn lock'
|
|
62
|
-
|
|
63
|
-
# sls: List directory entries in the repository.
|
|
64
|
-
alias sls='svn list'
|
|
65
|
-
|
|
66
|
-
# smd: Create a new directory under version control.
|
|
67
|
-
alias smd='svn mkdir'
|
|
68
|
-
|
|
69
|
-
# smg: Merge changes into a working copy.
|
|
70
|
-
alias smg='svn merge'
|
|
71
|
-
|
|
72
|
-
# smgi: Display merge-related information.
|
|
73
|
-
alias smgi='svn mergeinfo'
|
|
74
|
-
|
|
75
|
-
# smv: Move (rename) an item in a working copy or repository.
|
|
76
|
-
alias smv='svn move'
|
|
77
|
-
|
|
78
|
-
# sp: Set the value of a property on files, dirs, or revisions.
|
|
79
|
-
alias sp='svn propset'
|
|
80
|
-
|
|
81
|
-
# spdl: Remove a property from files, dirs, or revisions.
|
|
82
|
-
alias spdl='svn propdel'
|
|
83
|
-
|
|
84
|
-
# spdt: Edit a property with an external editor.
|
|
85
|
-
alias spdt='svn propedit'
|
|
86
|
-
|
|
87
|
-
# spgt: Print the value of a property on files, dirs, or revisions.
|
|
88
|
-
alias spgt='svn propget'
|
|
89
|
-
|
|
90
|
-
# sph: Apply a patch to a working copy.
|
|
91
|
-
alias sph='svn patch'
|
|
92
|
-
|
|
93
|
-
# spls: List all properties on files, dirs, or revisions.
|
|
94
|
-
alias spls='svn proplist'
|
|
95
|
-
|
|
96
|
-
# srl: Relocate the working copy to point to a different repository root URL.
|
|
97
|
-
alias srl='svn relocate'
|
|
98
|
-
|
|
99
|
-
# srs: Resolve conflicts on working copy files or directories.
|
|
100
|
-
alias srs='svn resolve'
|
|
101
|
-
|
|
102
|
-
# srsd: Remove 'conflicted' state on working copy files or directories.
|
|
103
|
-
alias srsd='svn resolved'
|
|
104
|
-
|
|
105
|
-
# srv: Restore pristine working copy state (undo local changes).
|
|
106
|
-
alias srv='svn revert'
|
|
107
|
-
|
|
108
|
-
# sst: Print the status of working copy files and directories.
|
|
109
|
-
alias sst='svn status'
|
|
110
|
-
|
|
111
|
-
# ssw: Update the working copy to a different URL within the same repository.
|
|
112
|
-
alias ssw='svn switch'
|
|
113
|
-
|
|
114
|
-
# sulk: Unlock working copy paths or URLs.
|
|
115
|
-
alias sulk='svn unlock'
|
|
116
|
-
|
|
117
|
-
# sup: Bring changes from the repository into the working copy.
|
|
118
|
-
alias sup='svn update'
|
|
119
|
-
|
|
120
|
-
# supg: Upgrade the metadata storage format for a working copy.
|
|
121
|
-
alias supg='svn upgrade'
|
|
122
|
-
|
|
123
|
-
# sxp: Create an unversioned copy of a tree.
|
|
124
|
-
alias sxp='svn export'
|
|
8
|
+
if command -v 'svn' >/dev/null; then
|
|
9
|
+
alias sad='svn add' # sad: Put new files and directories under version control.
|
|
10
|
+
alias sau='svn auth' # sau: Manage cached authentication credentials.
|
|
11
|
+
alias sbl='svn blame' # sbl: Show when each line of a file was last (or next) changed.
|
|
12
|
+
alias scg='svn changelist' # scg: Associate (or dissociate) changelist CLNAME with the named files.
|
|
13
|
+
alias sci='svn commit' # sci: Send changes from your working copy to the repository.
|
|
14
|
+
alias scl='svn cleanup' # scl: Either recover from an interrupted operation that left the working copy locked, or remove unwanted files.
|
|
15
|
+
alias sco='svn checkout' # sco: Check out a working copy from a repository.
|
|
16
|
+
alias scp='svn copy' # scp: Copy files and directories in a working copy or repository.
|
|
17
|
+
alias sct='svn cat' # sct: Output the content of specified files or URLs.
|
|
18
|
+
alias sdi='svn diff' # sdi: Display local changes or differences between two revisions or paths.
|
|
19
|
+
alias sdl='svn delete' # sdl: Remove files and directories from version control.
|
|
20
|
+
alias shp='svn help' # shp: Describe the usage of this program or its subcommands.
|
|
21
|
+
alias sin='svn info' # sin: Display information about a local or remote item.
|
|
22
|
+
alias sip='svn import' # sip: Commit an unversioned file or tree into the repository.
|
|
23
|
+
alias slg='svn log' # slg: Show the log messages for a set of revision(s) and/or path(s).
|
|
24
|
+
alias slk='svn lock' # slock: Lock working copy paths or URLs in the repository, so that no other user can commit changes to them.
|
|
25
|
+
alias sls='svn list' # sls: List directory entries in the repository.
|
|
26
|
+
alias smd='svn mkdir' # smd: Create a new directory under version control.
|
|
27
|
+
alias smg='svn merge' # smg: Merge changes into a working copy.
|
|
28
|
+
alias smgi='svn mergeinfo' # smgi: Display merge-related information.
|
|
29
|
+
alias smv='svn move' # smv: Move (rename) an item in a working copy or repository.
|
|
30
|
+
alias sp='svn propset' # sp: Set the value of a property on files, dirs, or revisions.
|
|
31
|
+
alias spdl='svn propdel' # spdl: Remove a property from files, dirs, or revisions.
|
|
32
|
+
alias spdt='svn propedit' # spdt: Edit a property with an external editor.
|
|
33
|
+
alias spgt='svn propget' # spgt: Print the value of a property on files, dirs, or revisions.
|
|
34
|
+
alias sph='svn patch' # sph: Apply a patch to a working copy.
|
|
35
|
+
alias spls='svn proplist' # spls: List all properties on files, dirs, or revisions.
|
|
36
|
+
alias srl='svn relocate' # srl: Relocate the working copy to point to a different repository root URL.
|
|
37
|
+
alias srs='svn resolve' # srs: Resolve conflicts on working copy files or directories.
|
|
38
|
+
alias srsd='svn resolved' # srsd: Remove 'conflicted' state on working copy files or directories.
|
|
39
|
+
alias srv='svn revert' # srv: Restore pristine working copy state (undo local changes).
|
|
40
|
+
alias sst='svn status' # sst: Print the status of working copy files and directories.
|
|
41
|
+
alias ssw='svn switch' # ssw: Update the working copy to a different URL within the same repository.
|
|
42
|
+
alias sulk='svn unlock' # sulk: Unlock working copy paths or URLs.
|
|
43
|
+
alias sup='svn update' # sup: Bring changes from the repository into the working copy.
|
|
44
|
+
alias supg='svn upgrade' # supg: Upgrade the metadata storage format for a working copy.
|
|
45
|
+
alias sxp='svn export' # sxp: Create an unversioned copy of a tree.
|
|
46
|
+
fi
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
|
+
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
|
+
# License: MIT
|
|
6
|
+
|
|
7
|
+
# πππ
³π
Ύ π
°π
»π
Έπ
°ππ
΄π
|
|
8
|
+
alias root='s' # root: Execute a command as the superuser.
|
|
9
|
+
alias s='sudo -i' # s: Execute a command as the superuser.
|
|
10
|
+
alias su='sudo su' # su: Execute a command as the superuser.
|
|
11
|
+
alias sudo='s' # sudo: Execute a command as the superuser.
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
3
|
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c)
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# ππ
Όππ π
°π
»π
Έπ
°ππ
΄π
|
|
8
|
-
|
|
9
|
-
alias
|
|
10
|
-
alias
|
|
11
|
-
alias
|
|
12
|
-
alias
|
|
13
|
-
alias
|
|
14
|
-
alias
|
|
15
|
-
alias
|
|
8
|
+
if command -v 'tmux' >/dev/null; then
|
|
9
|
+
alias tm='tmux' # tm: Start tmux.
|
|
10
|
+
alias tma="tmux attach-session" # tma: Attach to a tmux session.
|
|
11
|
+
alias tmat="tmux attach-session -t" # tmat: Attach to a tmux session with name.
|
|
12
|
+
alias tmks='tmux kill-session -a' # tmks: Kill all tmux sessions.
|
|
13
|
+
alias tml='tmux list-sessions' # tml: List tmux sessions.
|
|
14
|
+
alias tmn="tmux new-session" # tmn: Start a new tmux session.
|
|
15
|
+
alias tmns="tmux new -s" # tmns: Start a new tmux session with name.
|
|
16
|
+
alias tms='tmux new-session -s' # tms: Start a new tmux session.
|
|
17
|
+
fi
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
|
+
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
|
+
# License: MIT
|
|
6
|
+
|
|
7
|
+
# ππ
Ώπ
³π
°ππ
΄ π
°π
»π
Έπ
°ππ
΄π
|
|
8
|
+
if [[ "$(uname || true)" = "Darwin" ]]; then
|
|
9
|
+
alias upd='
|
|
10
|
+
sudo softwareupdate -i -a;
|
|
11
|
+
pnpm up;
|
|
12
|
+
rustup update stable;
|
|
13
|
+
if [[ "$(command -v brew cu)" ]]; then
|
|
14
|
+
brew cu -ayi;
|
|
15
|
+
else
|
|
16
|
+
brew tap buo/cask-upgrade;
|
|
17
|
+
fi;
|
|
18
|
+
brew doctor;
|
|
19
|
+
brew update;
|
|
20
|
+
brew upgrade;
|
|
21
|
+
brew cleanup;
|
|
22
|
+
mas upgrade;
|
|
23
|
+
sudo gem update;
|
|
24
|
+
sudo gem cleanup;
|
|
25
|
+
'
|
|
26
|
+
elif [[ "$(uname || true)" = "Linux" ]]; then
|
|
27
|
+
alias open="xdg-open >/dev/null 2>&1" # open: Open a file or URL in the user's preferred application.
|
|
28
|
+
alias pbcopy='xsel --clipboard --input' # pbcopy: Copy to clipboard.
|
|
29
|
+
alias pbpaste='xsel --clipboard --output' # pbpaste: Paste from clipboard.
|
|
30
|
+
alias upd='
|
|
31
|
+
sudo apt update;
|
|
32
|
+
sudo apt upgrade -y;
|
|
33
|
+
pnpm up;
|
|
34
|
+
rustup update stable;
|
|
35
|
+
sudo gem update;
|
|
36
|
+
sudo gem cleanup;
|
|
37
|
+
'
|
|
38
|
+
fi
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
|
+
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
|
+
# License: MIT
|
|
6
|
+
|
|
7
|
+
# πππ
Έπ
³ π
°π
»π
Έπ
°ππ
΄π
|
|
8
|
+
if command -v 'uuidgen' >/dev/null; then
|
|
9
|
+
alias uuid="uuidgen | tr -d '\n' | tr '[:upper:]' '[:lower:]' | pbcopy && pbpaste && echo" # uuid: Generate a UUID and copy it to the clipboard.
|
|
10
|
+
fi
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.463) - https://dotfiles.io
|
|
3
|
+
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
|
+
# License: MIT
|
|
6
|
+
|
|
7
|
+
# ππ
Άπ
΄π π
°π
»π
Έπ
°ππ
΄π
|
|
8
|
+
if command -v 'wget' >/dev/null; then
|
|
9
|
+
alias wg='wget' # wg: wget.
|
|
10
|
+
alias wgc='wg' # wgc: wget with continue.
|
|
11
|
+
alias wge='wg -e robots=off' # wge: wget with robots=off.
|
|
12
|
+
alias wget='wget -c' # wget: wget with continue.
|
|
13
|
+
fi
|
package/dist/lib/aliases.sh
CHANGED
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
#
|
|
3
|
-
#
|
|
4
|
-
#
|
|
2
|
+
# Author: Sebastien Rousseau
|
|
3
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
4
|
+
# Description: Sets aliases for the current shell.
|
|
5
5
|
# License: MIT
|
|
6
|
+
# Script: aliases.sh
|
|
7
|
+
# Version: 0.2.463
|
|
8
|
+
# Website: https://dotfiles.io
|
|
6
9
|
|
|
7
10
|
## π
°π
»π
Έπ
°ππ
΄π
|
|
8
11
|
|
|
9
|
-
#
|
|
12
|
+
# Remove all aliases from the current shell.
|
|
13
|
+
unalias -a # Remove all previous environment defined aliases.
|
|
14
|
+
|
|
15
|
+
# Then load custom Dotfiles aliases.
|
|
10
16
|
for file in "${HOME}"/.dotfiles/lib/aliases/[!.#]*/*.sh; do
|
|
11
17
|
# shellcheck source=/dev/null
|
|
12
18
|
source "${file}"
|