@sebastienrousseau/dotfiles 0.2.462 β 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 +5 -5
- package/dist/Makefile +2 -2
- package/dist/bin/constants.d.ts +2 -2
- package/dist/bin/constants.js +1 -1
- package/dist/filesizes.txt +114 -92
- package/dist/lib/aliases/archives/README.md +84 -0
- package/dist/lib/aliases/archives/archives.aliases.sh +63 -19
- 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 +36 -19
- package/dist/lib/aliases/configuration/README.md +46 -0
- package/dist/lib/aliases/configuration/configuration.aliases.sh +39 -8
- package/dist/lib/aliases/default/README.md +62 -0
- package/dist/lib/aliases/default/default.aliases.sh +59 -35
- package/dist/lib/aliases/dig/README.md +50 -0
- package/dist/lib/aliases/dig/dig.aliases.sh +37 -10
- 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 +36 -3
- package/dist/lib/aliases/find/README.md +29 -0
- package/dist/lib/aliases/find/find.aliases.sh +29 -19
- package/dist/lib/aliases/gcloud/README.md +148 -0
- package/dist/lib/aliases/gcloud/gcloud.aliases.sh +142 -120
- package/dist/lib/aliases/git/git.aliases.sh +128 -522
- package/dist/lib/aliases/gnu/gnucoreutils-aliases.sh +116 -0
- package/dist/lib/aliases/heroku/heroku.aliases.sh +288 -1028
- package/dist/lib/aliases/interactive/interactive.aliases.sh +2 -2
- package/dist/lib/aliases/jekyll/jekyll.aliases.sh +9 -47
- package/dist/lib/aliases/list/list.aliases.sh +30 -28
- package/dist/lib/aliases/make/make.aliases.sh +2 -2
- package/dist/lib/aliases/mkdir/mkdir.aliases.sh +2 -2
- package/dist/lib/aliases/npm/npm.aliases.sh +2 -2
- package/dist/lib/aliases/pnpm/pnpm.aliases.sh +3 -3
- package/dist/lib/aliases/ps/ps.aliases.sh +3 -3
- package/dist/lib/aliases/rsync/rsync.aliases.sh +6 -4
- package/dist/lib/aliases/rust/rust.aliases.sh +4 -4
- package/dist/lib/aliases/subversion/subversion.aliases.sh +3 -3
- package/dist/lib/aliases/sudo/sudo.aliases.sh +2 -2
- package/dist/lib/aliases/tmux/tmux.aliases.sh +3 -3
- package/dist/lib/aliases/update/update.aliases.sh +7 -7
- package/dist/lib/aliases/uuid/uuid.aliases.sh +3 -3
- package/dist/lib/aliases/wget/wget.aliases.sh +3 -3
- package/dist/lib/aliases.sh +6 -3
- 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 +3 -3
- 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 +4 -3
- package/dist/lib/configurations.sh +6 -3
- package/dist/lib/functions/cdls.sh +2 -2
- 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 +2 -2
- package/dist/lib/functions/curltime.sh +3 -3
- 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.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 +2 -2
- package/dist/scripts/unpack.sh +2 -2
- package/package.json +7 -7
- package/dist/lib/aliases/diskusage/diskusage.aliases.sh +0 -16
- package/dist/lib/aliases/gnu/gnucoreutls-aliases.sh +0 -111
- package/dist/lib/aliases/navigation/navigation.aliases.sh +0 -23
- package/dist/lib/aliases/permission/permission.aliases.sh +0 -28
package/dist/lib/history.sh
CHANGED
|
@@ -1,19 +1,29 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π
|
|
3
|
-
#
|
|
4
|
-
# Copyright (c) 2015-
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π
|
|
3
|
+
# Author: Sebastien Rousseau
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
|
+
# Description: Sets history options for the current shell.
|
|
5
6
|
# License: MIT
|
|
7
|
+
# Script: history.sh
|
|
8
|
+
# Version: 0.2.463
|
|
9
|
+
# Website: https://dotfiles.io
|
|
10
|
+
|
|
11
|
+
# Exit immediately if any command fails
|
|
12
|
+
set -o errexit
|
|
13
|
+
|
|
14
|
+
# Exit if any undefined variables are used
|
|
15
|
+
set -o nounset
|
|
6
16
|
|
|
7
17
|
## History wrapper
|
|
8
18
|
function dotfiles_history {
|
|
9
19
|
local clear list
|
|
10
20
|
zparseopts -E c=clear l=list
|
|
11
21
|
|
|
12
|
-
if [[ -n "${clear}" ]]; then
|
|
22
|
+
if [[ -n "${clear:-}" ]]; then
|
|
13
23
|
# if -c provided, clobber the history file
|
|
14
|
-
echo -n >|"${HISTFILE}"
|
|
15
|
-
echo >&2 History file deleted. Reload the session to see its effects.
|
|
16
|
-
elif [[ -n "${list}" ]]; then
|
|
24
|
+
echo -n >|"${HISTFILE:-}"
|
|
25
|
+
echo >&2 "History file deleted. Reload the session to see its effects."
|
|
26
|
+
elif [[ -n "${list:-}" ]]; then
|
|
17
27
|
# if -l provided, run as if calling `fc' directly
|
|
18
28
|
builtin fc "$@"
|
|
19
29
|
else
|
|
@@ -27,27 +37,20 @@ function dotfiles_history {
|
|
|
27
37
|
}
|
|
28
38
|
|
|
29
39
|
# Timestamp format
|
|
30
|
-
case ${HIST_STAMPS
|
|
40
|
+
case "${HIST_STAMPS:-}" in
|
|
31
41
|
"mm/dd/yyyy") alias history='dotfiles_history -f' ;;
|
|
32
42
|
"dd.mm.yyyy") alias history='dotfiles_history -E' ;;
|
|
33
43
|
"yyyy-mm-dd") alias history='dotfiles_history -i' ;;
|
|
34
44
|
"") alias history='dotfiles_history' ;;
|
|
35
|
-
*) alias history='dotfiles_history -t $HIST_STAMPS' ;;
|
|
45
|
+
*) alias history='dotfiles_history -t ${HIST_STAMPS}' ;;
|
|
36
46
|
esac
|
|
37
47
|
|
|
38
|
-
#
|
|
39
|
-
export
|
|
40
|
-
|
|
41
|
-
#
|
|
42
|
-
export HISTCONTROL=ignoreboth
|
|
43
|
-
|
|
44
|
-
# Number of histories saved in memory
|
|
45
|
-
export HISTSIZE=10000
|
|
46
|
-
|
|
47
|
-
# Number of histories saved in history file
|
|
48
|
-
export SAVEHIST=1000
|
|
48
|
+
export HISTFILE="${HOME}/.zsh_history" # History file
|
|
49
|
+
export HISTCONTROL="ignoreboth" # Ignore duplicate commands and commands that start with a space
|
|
50
|
+
export HISTSIZE="10000" # Number of commands to save in memory
|
|
51
|
+
export SAVEHIST="1000" # Number of commands to save on disk
|
|
49
52
|
|
|
50
|
-
if [[ -n "${ZSH_VERSION}" ]]; then
|
|
53
|
+
if [[ -n "${ZSH_VERSION:-}" ]]; then
|
|
51
54
|
# echo "Running shell is zsh"
|
|
52
55
|
# Specifying some history options
|
|
53
56
|
setopt always_to_end # Move cursor to the end of a completed word.
|
|
@@ -1,16 +1,16 @@
|
|
|
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) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
## π
°π
½π π
·π
Ύπ
Όπ
΄
|
|
8
8
|
if [[ -z "${ANT_HOME}" ]]; then
|
|
9
9
|
if [[ "${OSTYPE}" == "darwin"* ]]; then
|
|
10
|
-
ANT_HOME="/
|
|
10
|
+
ANT_HOME="/usr/local/opt/ant"
|
|
11
11
|
elif [[ "${OSTYPE}" == "linux-gnu"* ]]; then
|
|
12
12
|
ANT_HOME="/usr/share/ant/"
|
|
13
13
|
fi
|
|
14
14
|
export ANT_HOME
|
|
15
|
-
export PATH="${ANT_HOME}:${PATH}"
|
|
15
|
+
export PATH="${ANT_HOME}/bin:${PATH}"
|
|
16
16
|
fi
|
|
@@ -1,7 +1,7 @@
|
|
|
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) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
## π
Ώπ
°ππ
·π
|
|
@@ -1,7 +1,7 @@
|
|
|
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) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
## π
·π
Ύπ
Όπ
΄π
±ππ
΄π π
Ώπ
°ππ
·π
|
|
@@ -1,17 +1,18 @@
|
|
|
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) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
## π
Ήπ
°π
π
°_π
·π
Ύπ
Όπ
΄
|
|
8
8
|
# Set JAVA_HOME
|
|
9
9
|
if [[ "${OSTYPE}" == "darwin"* ]]; then
|
|
10
10
|
export CPPFLAGS="-I/opt/homebrew/opt/openjdk/include"
|
|
11
|
-
export
|
|
12
|
-
|
|
11
|
+
export JAVA_HOME="/opt/homebrew/Cellar/openjdk@11/11.0.18/libexec/openjdk.jdk/Contents/Home"
|
|
12
|
+
export PATH="/opt/homebrew/opt/openjdk@11/bin:$PATH"
|
|
13
13
|
elif [[ "${OSTYPE}" == "linux-gnu"* ]]; then
|
|
14
14
|
JAVA_HOME="/usr/lib/jvm/java-11-openjdk-arm64/"
|
|
15
|
+
|
|
15
16
|
fi
|
|
16
17
|
export JAVA_HOME
|
|
17
18
|
export JRE_HOME="${JAVA_HOME}"/jre
|
|
@@ -1,18 +1,19 @@
|
|
|
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) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
## π
Όπ
°π
π
΄π
½ π
·π
Ύπ
Όπ
΄
|
|
8
8
|
if [[ -z "${MAVEN_HOME}" ]]; then
|
|
9
9
|
if [[ "${OSTYPE}" == "darwin"* ]]; then
|
|
10
|
-
|
|
10
|
+
export M2_HOME=/opt/homebrew/Cellar/maven/3.9.0/libexec
|
|
11
|
+
export PATH=${PATH}:${M2_HOME}/bin
|
|
12
|
+
MAVEN_HOME=/opt/homebrew/Cellar/maven/3.9.0/libexec
|
|
11
13
|
elif [[ "${OSTYPE}" == "linux-gnu"* ]]; then
|
|
12
14
|
MAVEN_HOME="/usr/share/maven/"
|
|
13
15
|
fi
|
|
14
|
-
|
|
15
|
-
export MAVEN_HOME M2_HOME
|
|
16
|
+
export MAVEN_HOME
|
|
16
17
|
export PATH="${MAVEN_HOME}:${PATH}"
|
|
17
18
|
export MAVEN_OPTS="-Xms1g -Xmx1g"
|
|
18
19
|
fi
|
|
@@ -1,7 +1,7 @@
|
|
|
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) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
## π
½π
Ύπ
³π
΄ π
Ώπ
°ππ
·
|
|
@@ -1,7 +1,7 @@
|
|
|
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) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
## π
½π
π
Ό π
Ώπ
°ππ
·
|
|
@@ -1,7 +1,7 @@
|
|
|
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) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
## π
Ώπ
½π
Ώπ
Ό π
Ώπ
°ππ
·π
|
|
@@ -1,18 +1,20 @@
|
|
|
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) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
# π
Ώπππ
·π
Ύπ
½ π
Ώπ
°ππ
·
|
|
8
8
|
if [[ "${OSTYPE}" == "darwin"* ]]; then
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
if [[ -d "/Library/Frameworks/Python.framework/Versions/3.11/bin" ]]; then
|
|
10
|
+
export PATH="/Library/Frameworks/Python.framework/Versions/3.11/bin:${PATH}"
|
|
11
|
+
export PYTHONHOME="/Library/Frameworks/Python.framework/Versions/3.11"
|
|
12
|
+
fi
|
|
12
13
|
elif [[ "${OSTYPE}" == "linux-gnu"* ]]; then
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
if [[ -d "/usr/bin/python3.11" ]]; then
|
|
15
|
+
export PATH="/usr/bin:${PATH}"
|
|
16
|
+
export PYTHONHOME="/usr"
|
|
17
|
+
fi
|
|
16
18
|
fi
|
|
17
19
|
|
|
18
20
|
# Encoding[:errors] used for stdin/stdout/stderr.
|
|
@@ -21,10 +23,13 @@ export PYTHONIOENCODING='UTF-8'
|
|
|
21
23
|
# If set to 1, enables the UTF-8 mode.
|
|
22
24
|
export PYTHONUTF8=1
|
|
23
25
|
|
|
24
|
-
#
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
#
|
|
29
|
-
|
|
30
|
-
|
|
26
|
+
# π
Ώπππ
·π
Ύπ
½ π
°π
»π
Έπ
°ππ
΄π - Python aliases
|
|
27
|
+
if command -v 'python3' >/dev/null; then
|
|
28
|
+
alias python=python3 # Default python version
|
|
29
|
+
alias python3=python3.11 # Default python3 version
|
|
30
|
+
alias pip=pip3 # Use pip3 as default pip version
|
|
31
|
+
alias py=python # Shorthand for 'python' command
|
|
32
|
+
alias ipy=ipython # Shorthand for 'ipython' command
|
|
33
|
+
alias pep8=autopep8 # Use autopep8 as a tool for formatting Python code
|
|
34
|
+
alias pydoc='python -m pydoc' # Shorthand for 'python -m pydoc' command
|
|
35
|
+
fi
|
|
@@ -1,7 +1,7 @@
|
|
|
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) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
## πππ
±π π
·π
Ύπ
Όπ
΄
|
|
@@ -1,7 +1,7 @@
|
|
|
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) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
## ππ
Όππ π
Ώπ
°ππ
·π
|
|
@@ -11,6 +11,6 @@ if command -v 'tmux' >/dev/null; then
|
|
|
11
11
|
fi
|
|
12
12
|
|
|
13
13
|
if [[ -z "${TMUX}" ]] && [[ ${UID} != 0 ]]; then
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
"${TMUX_PATH}" kill-session -t 2>/dev/null
|
|
15
|
+
"${TMUX_PATH}"
|
|
16
16
|
fi
|
package/dist/lib/paths.sh
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
#
|
|
3
|
-
#
|
|
4
|
-
#
|
|
2
|
+
# Author: Sebastien Rousseau
|
|
3
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
4
|
+
# Description: Sets paths for the current shell.
|
|
5
5
|
# License: MIT
|
|
6
|
+
# Script: paths.sh
|
|
7
|
+
# Version: 0.2.463
|
|
8
|
+
# Website: https://dotfiles.io
|
|
6
9
|
|
|
7
10
|
## π
Ώπ
°ππ
·π
|
|
8
11
|
|
package/dist/scripts/backup.sh
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
## π
π
°ππ
Έπ
°π
±π
»π
΄π - Set Dotfiles variable.
|
package/dist/scripts/banner.sh
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
## π
±π
°π
½π
½π
΄π - Display banner.
|
package/dist/scripts/build.sh
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
# shellcheck disable=SC1091
|
package/dist/scripts/clean.sh
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
## π
²π
»π
΄π
°π
½ - Clean up.
|
package/dist/scripts/compile.sh
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
## π
²π
Ύπ
Όπ
Ώπ
Έπ
»π
΄ π
³π
Ύππ
΅π
Έπ
»π
΄π - Compile dotfiles.
|
package/dist/scripts/copy.sh
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
## π
²π
Ύπ
Ώπ - Copy the dotfiles on your system.
|
package/dist/scripts/dotfiles.sh
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
## π
Έπ
Όπ
Ώπ
Ύπππ - Importing constants and functions.
|
package/dist/scripts/download.sh
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
## π
π
°ππ
Έπ
°π
±π
»π
΄π - Set Dotfiles variable.
|
package/dist/scripts/help.sh
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
## π
π
°ππ
Έπ
°π
±π
»π
΄π - Set Dotfiles variable.
|
package/dist/scripts/ssh.sh
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
## πππ
· - Generate a new SSH key and add it to the ssh-agent
|
package/dist/scripts/unpack.sh
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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) 2015-
|
|
4
|
+
# Copyright (c) 2015-2023. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
## π
π
°ππ
Έπ
°π
±π
»π
΄π - Set Dotfiles variable.
|
package/package.json
CHANGED
|
@@ -26,14 +26,14 @@
|
|
|
26
26
|
],
|
|
27
27
|
"description": "Dotfiles - A set of macOS / Linux and Windows configuration files - Simply designed to fit your shell life.",
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@types/node": "^
|
|
30
|
-
"compressing": "^1.
|
|
29
|
+
"@types/node": "^18.15.0",
|
|
30
|
+
"compressing": "^1.8.0",
|
|
31
31
|
"filesizes": "^0.1.2",
|
|
32
|
-
"fs-extra": "
|
|
33
|
-
"husky": "^8.0.
|
|
32
|
+
"fs-extra": "11.1.0",
|
|
33
|
+
"husky": "^8.0.3",
|
|
34
34
|
"jsmin": "^1.0.1",
|
|
35
|
-
"rimraf": "^
|
|
36
|
-
"typescript": "^4.
|
|
35
|
+
"rimraf": "^4.4.0",
|
|
36
|
+
"typescript": "^4.9.5"
|
|
37
37
|
},
|
|
38
38
|
"directories": {
|
|
39
39
|
"bin": "./bin",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"url": "git@github.com:sebastienrousseau/dotfiles.git"
|
|
72
72
|
},
|
|
73
73
|
"types": "./dist/bin/index.d.ts",
|
|
74
|
-
"version": "0.2.
|
|
74
|
+
"version": "0.2.463",
|
|
75
75
|
"scripts": {
|
|
76
76
|
"build": "pnpm run backup && pnpm run copy && pnpm run assemble",
|
|
77
77
|
"backup": "chmod 755 \"./scripts/backup.sh\" && sh ./scripts/backup.sh backup",
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.462) - https://dotfiles.io
|
|
3
|
-
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-2022. All rights reserved
|
|
5
|
-
# License: MIT
|
|
6
|
-
|
|
7
|
-
# π
³π
Έππ
Ί πππ
°π
Άπ
΄ π
°π
»π
Έπ
°ππ
΄π
|
|
8
|
-
if command -v du &>/dev/null; then
|
|
9
|
-
alias du="du -h" # du: Display the disk usage of the current directory.
|
|
10
|
-
alias du1='du -hxd 1 | sort -h' # du1: File size of files and directories in current directory.
|
|
11
|
-
alias ducks="du -cks * .*| sort -rn | head -n 10" # ducks: Top 10 largest files and directories in current directory.
|
|
12
|
-
alias duh='du' # duh: File size of files and directories.
|
|
13
|
-
alias dus='du -hs *' # dus: File size human readable output sorted by size.
|
|
14
|
-
alias dusym="du * -hsLc" # dusym: File size of files and directories in current directory including symlinks.
|
|
15
|
-
alias dut='dus' # dut: Total file size of current directory.
|
|
16
|
-
fi
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.462)' - https://dotfiles.io
|
|
3
|
-
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c)' 2015-2022. All rights reserved
|
|
5
|
-
# License: MIT
|
|
6
|
-
|
|
7
|
-
# π
Άπ
½π π
²π
Ύππ
΄πππ
Έπ
»π π
°π
»π
Έπ
°ππ
΄π
|
|
8
|
-
alias awk=awk
|
|
9
|
-
alias b2sum=b2sum
|
|
10
|
-
alias base32=base32
|
|
11
|
-
alias base64=base64
|
|
12
|
-
alias basename=basename
|
|
13
|
-
alias basenc=basenc
|
|
14
|
-
alias cat=cat
|
|
15
|
-
alias chcon=chcon
|
|
16
|
-
alias chown=chown
|
|
17
|
-
alias chroot=chroot
|
|
18
|
-
alias cksum=cksum
|
|
19
|
-
alias comm=comm
|
|
20
|
-
alias cp=cp
|
|
21
|
-
alias csplit=csplit
|
|
22
|
-
alias cut=cut
|
|
23
|
-
alias date=date
|
|
24
|
-
alias dd=dd
|
|
25
|
-
alias df=df
|
|
26
|
-
alias dir=dir
|
|
27
|
-
alias dircolors=dircolors
|
|
28
|
-
alias dirname=dirname
|
|
29
|
-
alias diff=diff
|
|
30
|
-
alias du=du
|
|
31
|
-
alias echo=echo
|
|
32
|
-
alias env=env
|
|
33
|
-
alias expand=expand
|
|
34
|
-
alias expr=expr
|
|
35
|
-
alias factor=factor
|
|
36
|
-
alias false=false
|
|
37
|
-
alias fmt=fmt
|
|
38
|
-
alias fold=fold
|
|
39
|
-
alias head=head
|
|
40
|
-
alias hostid=hostid
|
|
41
|
-
alias id=id
|
|
42
|
-
alias install=install
|
|
43
|
-
alias join=join
|
|
44
|
-
alias link=link
|
|
45
|
-
alias ln=ln
|
|
46
|
-
alias loname=loname
|
|
47
|
-
alias ls=ls
|
|
48
|
-
alias make=make
|
|
49
|
-
alias md5sum=md5sum
|
|
50
|
-
alias mkdir=mkdir
|
|
51
|
-
alias mkfifo=mkfifo
|
|
52
|
-
alias mknod=mknod
|
|
53
|
-
alias mktemp=mktemp
|
|
54
|
-
alias mv=mv
|
|
55
|
-
alias nice=nice
|
|
56
|
-
alias nl=nl
|
|
57
|
-
alias nohup=nohup
|
|
58
|
-
alias nproc=nproc
|
|
59
|
-
alias numfmt=numfmt
|
|
60
|
-
alias od=od
|
|
61
|
-
alias paste=paste
|
|
62
|
-
alias patch=patch
|
|
63
|
-
alias pathchk=pathchk
|
|
64
|
-
alias pinky=pinky
|
|
65
|
-
alias pr=pr
|
|
66
|
-
alias printenv=printenv
|
|
67
|
-
alias printf=printf
|
|
68
|
-
alias ptx=ptx
|
|
69
|
-
alias pwd=pwd
|
|
70
|
-
alias readlink=readlink
|
|
71
|
-
alias realpath=realpath
|
|
72
|
-
alias rm=rm
|
|
73
|
-
alias rmdir=rmdir
|
|
74
|
-
alias runcon=runcon
|
|
75
|
-
alias seq=seq
|
|
76
|
-
alias sha1sum=sha1sum
|
|
77
|
-
alias sha224sum=sha224sum
|
|
78
|
-
alias sha256sum=sha256sum
|
|
79
|
-
alias sha384sum=sha384sum
|
|
80
|
-
alias sha512sum=sha512sum
|
|
81
|
-
alias shred=shred
|
|
82
|
-
alias shuf=shuf
|
|
83
|
-
alias sleep=sleep
|
|
84
|
-
alias sort=sort
|
|
85
|
-
alias split=split
|
|
86
|
-
alias stat=stat
|
|
87
|
-
alias stdbuf=stdbuf
|
|
88
|
-
alias stty=stty
|
|
89
|
-
alias sum=sum
|
|
90
|
-
alias sync=sync
|
|
91
|
-
alias tac=tac
|
|
92
|
-
alias tail=tail
|
|
93
|
-
alias tar=nutar
|
|
94
|
-
alias tee=tee
|
|
95
|
-
alias test=test
|
|
96
|
-
alias timeout=timeout
|
|
97
|
-
alias touch=touch
|
|
98
|
-
alias tr=tr
|
|
99
|
-
alias true=true
|
|
100
|
-
alias truncate=truncate
|
|
101
|
-
alias tsort=tsort
|
|
102
|
-
alias tty=tty
|
|
103
|
-
alias unexpand=unexpand
|
|
104
|
-
alias uniq=uniq
|
|
105
|
-
alias unlink=unlink
|
|
106
|
-
alias users=users
|
|
107
|
-
alias vdir=vdir
|
|
108
|
-
alias wc=wc
|
|
109
|
-
alias who=who
|
|
110
|
-
alias whoami=whoami
|
|
111
|
-
alias yes=yes
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.462) - https://dotfiles.io
|
|
3
|
-
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-2022. All rights reserved
|
|
5
|
-
# License: MIT
|
|
6
|
-
|
|
7
|
-
# π
½π
°π
π
Έπ
Άπ
°ππ
Έπ
Ύπ
½ π
°π
»π
Έπ
°ππ
΄π
|
|
8
|
-
alias -- -='cd -' # -: Shortcut to go to previous directory.
|
|
9
|
-
alias .....='cd ../../../..' # .....: Shortcut to go to great-great-grandparent directory.
|
|
10
|
-
alias ....='cd ../../..' # ....: Shortcut to go to great-grandparent directory.
|
|
11
|
-
alias ...='cd ../..' # ...: Shortcut to go to grandparent directory.
|
|
12
|
-
alias ..='cd ..' # ..: Shortcut to go to parent directory.
|
|
13
|
-
alias '~'='cd ~' # ~: Shortcut to go to home directory.
|
|
14
|
-
alias app='cd ${HOME}/Applications; ls' # app: Shortcut to go to the Applications directory.
|
|
15
|
-
alias cod='cd ${HOME}/Code; ls' # cod: Shortcut to go to the Code directory and list its contents.
|
|
16
|
-
alias des='cd ${HOME}/Desktop; ls' # des Shortcut to go to the Desktop directory and list its contents.
|
|
17
|
-
alias doc='cd ${HOME}/Documents; ls' # doc: Shortcut to go to the Documents directory and list its contents.
|
|
18
|
-
alias dot='cd ${HOME}/.dotfiles; ls' # dot: Shortcut to go to the dotfiles directory.
|
|
19
|
-
alias dow='cd ${HOME}/Downloads; ls' # dow: Shortcut to go to the Downloads directory and list its contents.
|
|
20
|
-
alias hom='cd ${HOME}/; ls' # hom: Shortcut to go to home directory and list its contents.
|
|
21
|
-
alias mus='cd ${HOME}/Music; ls' # mus: Shortcut to go to the Music directory and list its contents.
|
|
22
|
-
alias pic='cd ${HOME}/Pictures; ls' # pic: Shortcut to go to the Pictures directory and list its contents.
|
|
23
|
-
alias vid='cd ${HOME}/Videos; ls' # vid: Shortcut to go to the Videos directory and list its contents.
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.462) - https://dotfiles.io
|
|
3
|
-
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
-
# Copyright (c) 2015-2022. All rights reserved
|
|
5
|
-
# License: MIT
|
|
6
|
-
|
|
7
|
-
# π
Ώπ
΄ππ
Όπ
Έπππ
Έπ
Ύπ
½ π
°π
»π
Έπ
°ππ
΄π
|
|
8
|
-
if command -v chmod &>/dev/null; then
|
|
9
|
-
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.
|
|
10
|
-
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.
|
|
11
|
-
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.
|
|
12
|
-
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.
|
|
13
|
-
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.
|
|
14
|
-
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.
|
|
15
|
-
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.
|
|
16
|
-
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.
|
|
17
|
-
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.
|
|
18
|
-
alias chgrp='chgrp -v' # chgrp: Change group ownership of files or directories.
|
|
19
|
-
alias chgrpr='chgrp -Rv' # chgrpr: Change group ownership of files or directories recursively.
|
|
20
|
-
alias chgrpu='chgrp -Rv ${USER}' # chgrpu: Change group ownership of files or directories recursively to the current user.
|
|
21
|
-
alias chmod='chmod -v' # chmod: Change file mode bits.
|
|
22
|
-
alias chmodr='chmod -Rv' # chmodr: Change file mode bits recursively.
|
|
23
|
-
alias chmodu='chmod -Rv u+rwX' # chmodu: Change file mode bits recursively to the current user.
|
|
24
|
-
alias chmox='chmod +x' # chmox: Make a file executable.
|
|
25
|
-
alias chown='chown -v' # chown: Change file owner and group.
|
|
26
|
-
alias chownr='chown -Rv' # chownr: Change file owner and group recursively.
|
|
27
|
-
alias chownu='chown -Rv ${USER}' # chownu: Change file owner and group recursively to the current user.
|
|
28
|
-
fi
|