-
Notifications
You must be signed in to change notification settings - Fork 0
/
zhistory
404 lines (404 loc) · 10.6 KB
/
zhistory
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
sudo apt-get install tmux
sudo apt-get install alacritty
sudo apt-get install neovim
ssh ssh [email protected]
rg "part2_0"
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg\
sudo install -o root -g root -m 644 microsoft.gpg /usr/share/keyrings/microsoft-archive-keyring.gpg\
sudo sh -c 'echo "deb [arch=amd64,arm64,armhf signed-by=/usr/share/keyrings/microsoft-archive-keyring.gpg] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'
sudo apt-get update\
sudo apt-get install code # or code-insiders
git reset --hard
rm .vscode
rm -rf .vscode
cat microsoft.gpg
cat ~/.ssh/id_rsa.pub
sudo apt-get install tldr
git clone [email protected]:gwicho38/keyd.git
cd keyd
make
sudo make install
mkdir /etc/keyd/
touch /etc/keyd/default.conf
sudo touch /etc/keyd/default.conf
nvim /etc/keyd/default.conf
sudo nvim /etc/keyd/default.conf
cd ~/repos/keyd
sudo systemctl enable keyd
sudo keyd reload
sudo systemctl start keyd
sudo systemctl status keyd
tmux --help
tldr tmux
touch ~/.tmux.conf
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
tmux source ~/.tmux.conf
git clone gh repo clone gwicho38/lefv_io
type -p curl >/dev/null || (sudo apt update && sudo apt install curl -y)\
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg \\
&& sudo chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg \\
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null \\
&& sudo apt update \\
&& sudo apt install gh -y
sudo apt update\
sudo apt install gh
sudo apt update\
gh auth login
gh repo clone gwicho38/lefv_io
gh repo clone gwicho38/LazyVim
rm -rf LazyVim
gh repo clone gwicho38/LazyVim ~/.config/nvim
rm -rf ~/.config/nvim
gh repo clone gwicho38/LazyVim/starter ~/.config/nvim
git clone [email protected]:gwicho38/lnvim.git ~/.config/nvim
sudo apt-get remove neovim
sudo apt-get install python3-neovim
cd ~/
mkdir bin
echo $PATH
mkdir pkgs
cd pkgs
mv ~/bin/nvim-linux64 .
ln nvim-linux64/bin/nvim ~/bin/
rm bin/nvim
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
ls -a .local
sudo apt-get install ranger
rangerr
ls /home/linuxbrew
brew
brew install neovim
brew tap homebrew/cask-fonts\
brew search '/font-.*-nerd-font/' | awk '{ print $1 }' | xargs -I{} brew install --cask {} || true
brew tap homebrew/cask-fonts
brew update --auto-update
brew install --cask nerd-fonts
brew install nerd-fonts
brew search font
mkdir -p ~/.local/share/fonts\
cd ~/.local/share/fonts && curl -fLO https://github.com/ryanoasis/nerd-fonts/raw/HEAD/patched-fonts/DroidSansMono/DroidSansMNerdFont-Regular.otf
rm DroidSansMNerdFont-Regular.otf
git clone --depth 1 [email protected]:ryanoasis/nerd-fonts.git
cd ~/repos
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
vim ~/.zshrc
nvim install lts
nvm install lts
nvm ls-remote
nvm install 20.11.0
npm i
cd routes
cd nerd-fonts
./install.sh
sudo pkill nvim
cd lefv_io
git config --global --edit
mkdir -p ~/.config/alacritty/
touch ~/.config/alacritty/alacritty.yml
nvim
sudo pkill alaritty
$ sudo fc-list | grep "Hack"\
/usr/local/share/fonts/NerdFonts/Hack Bold Nerd Font Complete.ttf: Hack Nerd Font:style=Bold\
/usr/local/share/fonts/NerdFonts/Hack Regular Nerd Font Complete.ttf: Hack Nerd Font:style=Regular\
/usr/local/share/fonts/NerdFonts/Hack Italic Nerd Font Complete.ttf: Hack Nerd Font:style=Italic\
/usr/local/share/fonts/NerdFonts/Hack Bold Italic Nerd Font Complete.ttf: Hack Nerd Font:style=Bold Italic
sudo ./install.sh
tmux
nvim ~/.tmux.conf
cd ~/repos/nerd-fonts
pwd
nvim ~/.config/alacritty/alacritty.yml
sudo fc-list | grep "Hack"
sudo fc-list | grep "mono"
sudo fc-list | grep "Mono"
sudo fc-list | grep "3270"
git commit -m "Added droplet info."
ssh-copy-id [email protected]
brew install doctl
doctl auth init
git switch main
git pull
clar
git rm --cached node_modules/
git rm -r --cached node_modules/
git commit -m "Removed node_modules from repo."
cd ~/repos/lefv_io
npm install tailwindcss@latest
git commit -m "Added tailwind and formatted the index.html page."
git push --set-upstream origin feature/add-tailwind-css
mv components public/javascript
git commit -m "Rarranged files."
git commit -m "Added web components."
npm run dev
git restore routes/index.js
OA
git status
git commit -m "Added more work on web components."
git push
sudo apt-get install lm-sensors
lm
lms
apt
apt show lm-sensors
sudo lm-sensors
apt-get
whereis apt
cd /usr/bin/apt
cd /usr/bin/
./apt-cache
./apt-cache search lm-sensors
sudo tlp-stat -b
cat /sys/class/power_supply/BAT0
cd /sys/class/power_supply/BAT1/
ranger
sudo ranger
tldr tlp
sudo tlp
sudo tlp recalibrate
tlp
tlp diskid
tlp true
sudo tlp true
sudo tlp start
sudo tlp usb
/usr/bin/blueman-tray --help
/usr/bin/blueman-tray
sudo apt-get update
sudo apt-get upgrade
eenv
powertop
sudo powertop
cd ~/repos/
git clone gh repo clone gwicho38/lsh
gh repo clone gwicho38/lsh
log status
cd lsh
git log
cd ..
gh repo clone gwicho38/dotfiles
cd dotfiles
git branch -a
git switch fedora
nvim .
which pip
sudo apt-get install pyenv
which brew
nvim ~/.zshrc
mkdir ~/.config/zsh
cp ~/repos/dotfiles/tag-zsh/zsh/zsh_aliases ~/.config/zsh/
cp ~/repos/dotfiles/tag-zsh/zsh/zsh_env ~/.config/zsh/
cp ~/repos/dotfiles/tag-zsh/zsh/zsh_functions ~/.config/zsh/
cp ~/repos/dotfiles/tag-zsh/zsh/zsh_path ~/.config/zsh/
sudo apt-get install bat
bat
bt
brew install bat
brew install lsd
source ~/.zshrc
cp ~/repos/dotfiles/bashrc ~/.bashrc
cat Rosalie.pdf
open .
cp ~/repos/dotfiles/xonshrc ~/.xonshrc
cd ~/repos/dotfiles
rm *
rm -rf *
clear
git add .
git commit -m "Starting fresh on Feb 17 2024."
cd
brew install rcm
i rcup
rcup -d configs -v
rcup -d configs
ls /home/lefv/.dotfiles
cd ~/.dotfiles
rcrc
touch ~/.rcrc
nvim ~/.rcrc
rcm
rcup
man rcm
lsrc
ls
ll
la -a
ls *.
ls .*
ls -a *.
ls -a | grep *.
ls -a | grep .*
ls -a
mkrc .bashrc
exit
: 1708205667:0;cd
: 1708205670:0;nvim ~/.rcrc
: 1708205676:0;ls -a
: 1708205680:0;rcup .bashrc
: 1708205685:0;ll
: 1708205686:0;ls -a
: 1708205693:0;ls
: 1708205695:0;ll
: 1708205696:0;ls -a
: 1708205704:0;rcup
: 1708205718:0;git status
: 1708205722:0;git push
: 1708205731:0;gh repo clone gwicho38/dotfiles ~/.dotfiles
: 1708205801:0;rcup --help
: 1708205822:0;eenv
: 1708205833:0;efunc
: 1708205852:0;mv ~/.config/zsh/zsh_* $HOME
: 1708205853:0;ls
: 1708205859:0;efunc
: 1708205881:0;mv zsh_aliases zsh_env zsh_functions zsh_path ~/.zsh/
: 1708205882:0;ls
: 1708205883:0;source ~/.zshrc
: 1708205889:0;ez
: 1708205907:0;source ~/.zshrc
: 1708205910:0;eenv
: 1708205918:0;mkrc --help
: 1708205958:0;eenv
: 1708205964:0;mkrc --help
: 1708205969:0;eeng
: 1708205971:0;eenv
: 1708205988:0;source ~/.zshrc
: 1708205996:0;ls
: 1708205998:0;ls -a
: 1708206002:0;mkrc ~/.bashrc
: 1708206015:0;ealias
: 1708206029:0;efunc
: 1708206052:0;brew link bat
: 1708206126:0;rcup --help
: 1708206177:0;source ~/.zshrc
: 1708206184:0;ls -a
: 1708206186:0;mkrc ~/.bashrc
: 1708206197:0;efunc
: 1708206207:0;source ~/.zshrc
: 1708206209:0;ls -a
: 1708206211:0;mkrc ~/.bashrc
: 1708206225:0;ls
: 1708206226:0;ls -a
: 1708206245:0;ealias
: 1708206252:0;efunc
: 1708206263:0;source ~/.zshrc
: 1708206265:0;ls
: 1708206267:0;ls -a
: 1708206270:0;cat .sudo_as_admin_successful
: 1708206284:0;cat .bashrc
: 1708206287:0;clear
: 1708206294:0;echo $DOT_DIR
: 1708206301:0;eenv
: 1708206314:0;rcup .bashrc
: 1708206315:0;ls
: 1708206317:0;ls -a
: 1708206329:0;ls ~/repos/dotfiles
: 1708206339:0;mkrc ~/.bashrc
: 1708206354:0;mv ~/repos/dotfiles ~/.dotfiles
: 1708206357:0;mkrc ~/.bashrc
: 1708206372:0;mkrc .bash_history -t bash
: 1708206381:0;ls
: 1708206382:0;ls -a
: 1708206392:0;cat .dmrc
: 1708206396:0;mkrc .dmrc
: 1708206404:0;mkrc .gitconfig
: 1708206409:0;cat .lesshst
: 1708206414:0;mkrc .lesshst
: 1708206418:0;mkrc .rcrc
: 1708206425:0;cat .profile
: 1708206430:0;mkrc .profile
: 1708206432:0;ls -a
: 1708206516:0;mkrc .tmux.conf
: 1708206520:0;cat .viminfo
: 1708206524:0;clear
: 1708206524:0;ls
: 1708206525:0;ls -a
: 1708206535:0;cat .bash_logout
: 1708206546:0;mkrc .bash_logout
: 1708206550:0;cat .face
: 1708206552:0;clear
: 1708206554:0;mkrc .face
: 1708206555:0;ls
: 1708206555:0;ls -a
: 1708206563:0;mkrc .sudo_as_admin_successful
: 1708206565:0;mkrc .viminfo
: 1708206572:0;cat .Xauthority \
: 1708206574:0;cat .Xauthority
: 1708206581:0;mkrc .Xauthority
: 1708206585:0;cat .xinitrc
: 1708206589:0;mkrc .xinitrc
: 1708206595:0;mkrc .xonshrc
: 1708206600:0;mkrc .Xresources
: 1708206608:0;mkrc .xsession-errors
: 1708206618:0;mkrc .zhistory
: 1708206626:0;mkrc .zimrc
: 1708206629:0;mkrc .zshrc
: 1708206643:0;mkrc .viminfo
: 1708206644:0;ls
: 1708206645:0;ls -a
: 1708206654:0;cd ~/.config
: 1708206655:0;ls
: 1708206663:0;cat nvim
: 1708206666:0;cd nvim
: 1708206667:0;ls
: 1708206669:0;cd ..
: 1708206669:0;ls
: 1708206681:0;cd alacritty
: 1708206682:0;ls
: 1708206685:0;mkrc alacritty.yml
: 1708206687:0;cd ..
: 1708206689:0;ranger
: 1708206737:0;cd ~/.dotfiles
: 1708206738:0;git status
: 1708206740:0;git add .
: 1708206746:0;git commit -m "Initial commit debian."
: 1708206747:0;git push
: 1708224400:0;mv ~/Downloads/Obsidian-1.5.3.AppImage ~/bin
: 1708224401:0;ls
: 1708224414:0;cd ~/bin
: 1708224415:0;ls
: 1708224418:0;./Obsidian-1.5.3.AppImage
: 1708224425:0;chmod +x Obsidian-1.5.3.AppImage
: 1708224431:0;./Obsidian-1.5.3.AppImage
: 1708224469:0;cd ~/repos/
: 1708224478:0;gh repo clone gwicho38/lefv-vault
: 1708224497:0;git clone [email protected]:gwicho38/lefv-vault
: 1708224503:0;cd lefv-vault
: 1708224503:0;ls
: 1708224671:0;# Download\
mkdir -p ~/Applications\
wget -c https://github.com/$(wget -q https://github.com/probonopd/go-appimage/releases/expanded_assets/continuous -O - | grep "appimaged-.*-x86_64.AppImage" | head -n 1 | cut -d '"' -f 2) -P ~/Applications/\
chmod +x ~/Applications/appimaged-*.AppImage\
\
# Launch\
~/Applications/appimaged-*.AppImage
: 1708224702:0;mv ~/bin/Obsidian-1.5.3.AppImage ~/Applications
: 1708224774:0;eenv
: 1708224799:0;sz
: 1708224808:0;$LSH
: 1708224813:0;ls
: 1708224818:0;eenv
: 1708224847:0;sz
: 1708224850:0;LSH
: 1708224853:0;$LSH
: 1708224854:0;ls
: 1708225097:0;lsrc
: 1708225115:0;$LSH
: 1708225116:0;ls
: 1708225119:0;npm i
: 1708225137:0;cd ..
: 1708225137:0;ls
: 1708225146:0;$NVIM
: 1708225152:0;eenv
: 1708225197:0;cd ~/.config/
: 1708225206:0;ll
: 1708225219:0;cd
: 1708225223:0;ls -a | grep vim
: 1708225227:0;cd ~/.config/
: 1708225252:0;ls -a | grep vim
: 1708225255:0;cat nvim
: 1708225257:0;cd nvim
: 1708225257:0;ls
: 1708225261:0;pwd
: 1708225288:0;nvim .
: 1708225387:0;exit