mirror of
https://github.com/Mastermindzh/dotfiles.git
synced 2025-05-10 15:24:05 +02:00
Compare commits
3 Commits
5f8fc8e53c
...
ea861dbbfa
Author | SHA1 | Date | |
---|---|---|---|
ea861dbbfa | |||
13de19e0cc | |||
07e5a472f0 |
@ -68,6 +68,9 @@ alias echo-server='npx http-echo-server'
|
|||||||
alias mountcalibre='sudo mount.cifs //10.10.1.11/books /mnt/calibre -o nobrl,user=mastermindzh,noperm,rw'
|
alias mountcalibre='sudo mount.cifs //10.10.1.11/books /mnt/calibre -o nobrl,user=mastermindzh,noperm,rw'
|
||||||
alias xpid="xprop _NET_WM_PID | cut -d' ' -f3"
|
alias xpid="xprop _NET_WM_PID | cut -d' ' -f3"
|
||||||
alias clean-node-modules='find . -name "node_modules" -type d -print0 |xargs -0 rm -r --'
|
alias clean-node-modules='find . -name "node_modules" -type d -print0 |xargs -0 rm -r --'
|
||||||
|
alias nomachine='/usr/NX/bin/nxplayer'
|
||||||
|
alias unlockuser='faillock --reset --user'
|
||||||
|
alias npm-list-links='npm ls -g --depth=0 --link=true'
|
||||||
|
|
||||||
# might be useful in demos...
|
# might be useful in demos...
|
||||||
alias oopsie='fuck'
|
alias oopsie='fuck'
|
||||||
|
13
bash/.bashrc
13
bash/.bashrc
@ -1,3 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
# if powerline-shell is available use it.
|
# if powerline-shell is available use it.
|
||||||
function _update_ps1() {
|
function _update_ps1() {
|
||||||
if hash powerline-rs 2>/dev/null; then
|
if hash powerline-rs 2>/dev/null; then
|
||||||
@ -19,8 +20,14 @@ source ~/.variables
|
|||||||
sourceIfExists ~/lib/azure-cli/az.completion
|
sourceIfExists ~/lib/azure-cli/az.completion
|
||||||
eval "$(thefuck --alias)"
|
eval "$(thefuck --alias)"
|
||||||
|
|
||||||
# evals
|
# load keychain with private key
|
||||||
eval $(keychain --eval --quiet ~/.ssh/id_rsa)
|
if test -f "$HOME/.ssh/id_ed25519"; then
|
||||||
|
eval "$(keychain --eval --quiet ~/.ssh/id_ed25519)"
|
||||||
|
else
|
||||||
|
# fallback to older rsa
|
||||||
|
eval "$(keychain --eval --quiet ~/.ssh/id_rsa)"
|
||||||
|
fi
|
||||||
|
|
||||||
eval "$(pyenv init -)"
|
eval "$(pyenv init -)"
|
||||||
|
|
||||||
export NVM_DIR="$HOME/.nvm"
|
export NVM_DIR="$HOME/.nvm"
|
||||||
@ -36,7 +43,7 @@ fi
|
|||||||
PS1='[\u@\h \W]\$ '
|
PS1='[\u@\h \W]\$ '
|
||||||
|
|
||||||
if [[ $TERM != linux && ! $PROMPT_COMMAND =~ _update_ps1 ]]; then
|
if [[ $TERM != linux && ! $PROMPT_COMMAND =~ _update_ps1 ]]; then
|
||||||
PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
|
PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export PATH=$PATH:/home/mastermindzh/bin
|
export PATH=$PATH:/home/mastermindzh/bin
|
||||||
|
3
dependencies/aur.txt
vendored
3
dependencies/aur.txt
vendored
@ -1,4 +1,4 @@
|
|||||||
visual-studio-code-insiders
|
visual-studio-code-bin
|
||||||
i3blocks-contrib
|
i3blocks-contrib
|
||||||
enpass-bin
|
enpass-bin
|
||||||
insync
|
insync
|
||||||
@ -17,3 +17,4 @@ notifyconf
|
|||||||
dotnet-host-bin
|
dotnet-host-bin
|
||||||
sysmontask
|
sysmontask
|
||||||
keychain
|
keychain
|
||||||
|
nomachine
|
||||||
|
7
dependencies/pacman.txt
vendored
7
dependencies/pacman.txt
vendored
@ -80,3 +80,10 @@ dotnet-sdk
|
|||||||
aspnet-runtime
|
aspnet-runtime
|
||||||
clamav
|
clamav
|
||||||
clamtk
|
clamtk
|
||||||
|
keychain
|
||||||
|
thefuck
|
||||||
|
peek
|
||||||
|
blueman
|
||||||
|
pulseaudio-bluetooth
|
||||||
|
bluez
|
||||||
|
bluez-libs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user