rpm-ostree3.sh 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. echo $(tput setaf 1)'git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting'
  2. echo $(tput setaf 1)'git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions'
  3. echo "$(tput setaf 1)install: veracrypt, wezterm"
  4. echo $(tput setaf 1)'alias pipup="pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f
  5. 1 | xargs -n1 pip install -U"
  6. alias pipup="pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U"
  7. alias up="sudo rpm-ostree upgrade && flatpak update && pipup"
  8. alias xmr="curl https://rate.sx/xmr@10d"
  9. alias eth="curl https://rate.sx/eth@10d"
  10. alias btc="curl https://rate.sx/btc@10d"
  11. alias crypto="curl https://rate.sx"
  12. alias ker="ping gnu.org"
  13. alias xb="xmr && btc"
  14. alias ll="lsd -l"
  15. alias img="wezterm imgcat"
  16. alias netw="sudo service NetworkManager restart"
  17. alias kali="podman exec -ti --user unknown --privileged kali /bin/zsh"
  18. alias kali-start="podman start kali kali"
  19. alias kali-stop="podman stop kali kali"
  20. alias poff="kali-stop && poweroff"
  21. alias dns-restart="sudo systemctl restart systemd-resolved.service && sudo service NetworkManager restart"
  22. fcd() {
  23. cd "$(find -type d | fzf)"
  24. }
  25. open() {
  26. xdg-open "$(find -type f | fzf)"
  27. }
  28. url() {
  29. xdg-open "https://$1/"
  30. }
  31. eval "$(starship init zsh)"
  32. <<<---------------- !!! TURN ON DoT !!! ---------------->>> HowToDoT.txt'
  33. echo "zsh" >> ~/.bashrc;
  34. curl https://getcroc.schollz.com | bash
  35. sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)";