You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: .github/SECURITY.md
+4-2
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,11 @@
2
2
3
3
[![Banner representing the Dotfiles Library][logo]][website]
4
4
5
-
We take the security of our software products and services seriously, which includes all source code repositories managed through our GitHub repositories.
5
+
We take the security of our software products and services seriously, which
6
+
includes all source code repositories managed through our GitHub repositories.
6
7
7
-
If you believe you have found a security vulnerability in any of our repository, please report it to us as described below.
8
+
If you believe you have found a security vulnerability in any of our repository,
Copy file name to clipboardexpand all lines: lib/aliases/clear/clear.aliases.sh
+16-16
Original file line number
Diff line number
Diff line change
@@ -5,19 +5,19 @@
5
5
# License: MIT
6
6
7
7
# 🅲🅻🅴🅰🆁 🅰🅻🅸🅰🆂🅴🆂
8
-
alias c="clear"# c: Clear screen shortcut.
9
-
alias cl="c"# cl: Clear screen shortcut.
10
-
alias clc="clear && cat"# clc: Clear the screen and show the current file.
11
-
alias clcat="clc"# clcat: Clear the screen and show the current file.
12
-
alias clh="clear && history"# clh: Clear the screen and show the history.
13
-
alias clhist="clh"# clhist: Clear the screen and show the history.
14
-
alias clp="clear && pwd"# clp: Clear the screen and show the current directory.
15
-
alias clpwd="clp"# clpwd: Clear the screen and show the current directory.
16
-
alias clr="c"# clr: Clear screen shortcut.
17
-
alias cls="c"# cls: Clear screen shortcut.
18
-
alias clt="clear && tree"# clt: Clear the screen and show the current directory tree.
19
-
alias cltree="clt"# cltree: Clear the screen and show the current directory tree.
20
-
alias ct="clear && tree ./"# ct: Clear screen and list directory contents.
21
-
alias ctree="ct"# ctree: Clear screen and list directory contents.
22
-
alias cpl="clear && pwd && echo '' && ls -a && echo ''"# cpl: Clear the screen, show the current directory, and list all files.
23
-
alias cplt="clear && pwd && echo '' && tree ./ && echo ''"# cplt: Clear the screen and show the current directory and tree.
8
+
alias c="clear"# c: Clear the terminal screen.
9
+
alias cl="c"# cl: Clear the terminal screen.
10
+
alias clc="clear && cat"# clc: Clear the terminal screen and print the contents of the current directory.
11
+
alias clcat="clc"# clcat: Clear the terminal screen and print the contents of the current directory.
12
+
alias clh="clear && history"# clh: Clear the terminal screen and print the command history.
13
+
alias clhist="clh"# clhist: Clear the terminal screen and print the command history.
14
+
alias clp="clear && pwd"# clp: Clear the terminal screen and print the current working directory.
15
+
alias clpwd="clp"# clpwd: Clear the terminal screen and print the current working directory.
16
+
alias clr="c"# clr: Clear the terminal screen.
17
+
alias cls="c"# cls: Clear the terminal screen.
18
+
alias clt="clear && tree"# clt: Clear the terminal screen and print the directory tree.
19
+
alias cltree="clt"# cltree: Clear the terminal screen and print the directory tree.
20
+
alias ct="clear && tree ./"# ct: Clear the terminal screen and print the directory tree.
21
+
alias ctree="ct"# ctree: Clear the terminal screen and print the directory tree.
22
+
alias cpl="clear && pwd && echo '' && ls -a && echo ''"# cpl: Clear the terminal screen and print the current working directory and the contents of the current directory.
23
+
alias cplt="clear && pwd && echo '' && tree ./ && echo ''"# cplt: Clear the terminal screen and print the current working directory and the directory tree.
Copy file name to clipboardexpand all lines: lib/aliases/default/default.aliases.sh
+6-39
Original file line number
Diff line number
Diff line change
@@ -6,31 +6,29 @@
6
6
7
7
# 🅳🅴🅵🅰🆄🅻🆃 🅰🅻🅸🅰🆂🅴🆂
8
8
alias':q'='quit'# q: Shortcut for the `exit` command.
9
-
alias bye='quit'#q: Shortcut for the `exit` command.
9
+
alias bye='quit'#bye: Shortcut for the `exit` command.
10
10
alias ctf='echo $(ls -1 | wc -l)'# ctf: Count the number of files in the current directory.
11
11
alias curl='curl --compressed'# curl: Use compression when transferring data.
12
12
alias da='date "+%Y-%m-%d %A %T %Z"'# da: Display the current date and time.
13
13
alias h='history'# h: Lists all recently used commands.
14
14
alias halt="sudo /sbin/halt"# halt: Shutdown the system.
15
15
alias ifconfig='sudo ifconfig'# ifconfig: Append sudo to ifconfig (configure network interface parameters) command.
16
-
alias ipinfo='ipconfig getpacket en0'#ipInfo0: Get network interface parameters for en0.
16
+
alias ipinfo='ipconfig getpacket en0'#ipinfo: Get network interface parameters for en0.
17
17
alias moon='curl -s "wttr.in/?format=%m"'# moon: Get the moon phase.
18
18
alias nls='sudo lsof -i -P | grep LISTEN'# nls: Show only active network listeners.
19
19
alias now='date +"%T"'# now: Show the current time.
20
20
alias op='sudo lsof -i -P'# op: List of open ports.
21
21
alias p='pwd'# p: Shortcut for `pwd` which returns working directory name.
22
22
alias path='echo ${PATH//:/\\n}'# path: Display the $PATH variable on newlines.
23
-
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.
24
23
alias ping='ping -c 5'# ping: Limit Ping to 5 ECHO_REQUEST packets.
25
-
alias please='sudo -'#sudo: Execute a command as the superuser.
24
+
alias please='sudo -'#please: Execute a command as the superuser.
26
25
alias ports='netstat -tulan'# ports: List all listening ports.
27
26
alias poweroff="sudo /sbin/shutdown"# poweroff: Poweroff the system.
28
-
alias ps='ps auxwww'# kp: Getting full path of executables.
29
27
alias q='quit'# q: Shortcut for the `exit` command.
30
28
alias qfind='find . -name '# qfind: Quickly search for file.
31
-
alias quit='exit'#q: Shortcut for the `exit` command.
32
-
alias r=reload# r: Reload the shell.
33
-
alias reboot="sudo /sbin/reboot"# reboot: Reboot the system.
29
+
alias quit='exit'#quit: Shortcut for the `exit` command.
30
+
alias r='reload'# r: Reload the shell.
31
+
alias reboot='sudo /sbin/reboot'# reboot: Reboot the system.
34
32
alias reload='exec $SHELL -l'# reload: Reload the shell.
35
33
alias shutdown='sudo shutdown -h now'# shutdown: Shutdown the system.
36
34
alias spd='sudo rm -rf /private/var/log/asl/*'# spd: Remove all log files in /private/var/log/asl.
@@ -41,34 +39,3 @@ alias tree='tree --dirsfirst' # tree: Display a directory tree.
41
39
alias wk='date +%V'# wk: Show the current week number.
42
40
alias wth='curl -s "wttr.in/?format=3"'# wth: Get the weather.
43
41
alias x='quit'# q: Shortcut for the `exit` command.
44
-
if [[ "$(uname || true)"="Darwin" ]];then
45
-
alias upd='
46
-
sudo softwareupdate -i -a;
47
-
pnpm up;
48
-
rustup update stable;
49
-
if [[ "$(command -v brew cu)" ]]; then
50
-
brew cu -ayi;
51
-
else
52
-
brew tap buo/cask-upgrade;
53
-
fi;
54
-
brew doctor;
55
-
brew update;
56
-
brew upgrade;
57
-
brew cleanup;
58
-
mas upgrade;
59
-
sudo gem update;
60
-
sudo gem cleanup;
61
-
'
62
-
elif [[ "$(uname || true)"="Linux" ]];then
63
-
alias open="xdg-open >/dev/null 2>&1"# open: Open a file or URL in the user's preferred application.
64
-
alias pbcopy='xsel --clipboard --input'# pbcopy: Copy to clipboard.
65
-
alias pbpaste='xsel --clipboard --output'# pbpaste: Paste from clipboard.
0 commit comments