diff --git a/.zshrc b/.zshrc index 92665fc..839a28b 100644 --- a/.zshrc +++ b/.zshrc @@ -30,9 +30,14 @@ export PNPM_HOME=$HOME/.local/share/pnpm # zoxide eval "$(zoxide init zsh)" -rm ~/.zcompdump*; compinit +rm -f ~/.zcompdump*; compinit # PATH export PATH=$HOME/bin:/usr/games:/usr/local/bin:$HOME/.nvm:/usr/local/go/bin:$DENO_INSTALL/bin:$HOME/.cargo/bin:$GOPATH/bin:$PNPM_HOME:$PATH +export ESC=/mnt/c/users/karho/Desktop/ +#echo "$(cat $HOME/.dotfiles/banner)" | lolcat + +neofetch +#catimg $HOME/.dotfiles/skull.png + -echo "$(cat $HOME/.dotfiles/banner)" | lolcat diff --git a/README.md b/README.md index 69b9c10..a0fd624 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# ManzDev dotfiles +# ManzDev dotfiles modificado para mi Script to prepare your GNU/Linux terminal (WSL also) in a «superterminal» with modern, autocompleted commands and other features. @@ -34,7 +34,7 @@ Script to prepare your GNU/Linux terminal (WSL also) in a «superterminal» with ## Installation ```bash -git clone https://github.com/manzdev/dotfiles ~/.dotfiles +git clone git@github.com:Santiagomadaw/dotfiles.git ~/.dotfiles cd ~/.dotfiles bash install.sh ``` @@ -45,11 +45,14 @@ bash install.sh If you haven't a non-root user with sudo privileges, create it before run this script: + + ```bash -adduser manz --quiet -usermod -aG sudo manz + +adduser [USER] --quiet +usermod -aG sudo [USER] apt-get update -y && apt-get install -y sudo git -su manz +su [USER] ``` ## More info diff --git a/banner b/banner index 9ccae8c..cb99bab 100644 --- a/banner +++ b/banner @@ -1,10 +1,8 @@ - @@@@@@@@@@ - @@@ @@ - @ &&&&&%%@@@ - @@ &&( && (&@ _ - @ ##&&&&&&&@ _ __ ___ __ _ _ __ ____ __| | _____ __ - @@,@ ### #@ | '_ ` _ \ / _` | '_ \|_ / / _` |/ _ \ \ / / - @@ @@ | | | | | | (_| | | | |/ / | (_| | __/\ V / - @@ *.. @ |_| |_| |_|\__,_|_| |_/___(_)__,_|\___| \_/ - - + ( ) ( + )\ ) ( ( /( * ) )\ ) +(()/( )\ )\())` ) /((()/( ─▄▄▀▀█▀▀▄▄ + /(_))((((_)( ((_)\ ( )(_))/(_)) ▐▄▌─▀─▀─▐▄▌ +(_)) )\ _ )\ _((_)(_(_())(_)) ──█─▄▄▄─█──▄▄ +/ __| (_)_\(_)| \| ||_ _||_ _| ──▄█▄▄▄█▄─▐──▌ +\__ \ / _ \ | .` | | | | | ▄█▀█████▐▌─▀─▐ +|___/ /_/ \_\ |_|\_| |_| |___| ▀─▄██▀██▀█▀▄▄▀ diff --git a/install.sh b/install.sh index 2121e60..8b11f8f 100644 --- a/install.sh +++ b/install.sh @@ -10,6 +10,36 @@ sudo apt-get autoremove -y sudo apt-get upgrade -y # Essentials +# zsh es un potente intérprete de comandos para sistemas operativos de tipo Unix +# sudo otorga a los usuarios no root acceso temporal a los privilegios elevados +# Zgen le proporciona algunos comandos simples para administrar complementos. Mantén tu .zshrc limpio y simple. +# wget para recuperar contenido y archivos de varios servidores web +# lsb_release -a te da la distro de linux que tienes +# vim y nano procesadores de textos +# libbrotli-dev compresor +# jq para extraer una parte de un json +# less es el paginador (para que al hacer un cat no muestre el final de un texto largo directamente) +# catimg para ver una imagen en terminal +# zoxide usando el comando z [nombre de carpeta en la que ya has estado] te evitas tener que meter rutas completas +# tldr manual version corta de los comandos man es lo mismo pero mas texto +# curl accede o descarga un fichero httpie comando http hace lo mismo pero te da mas info +# googler y ddgr te da en texto los resultados de google +# neofetch informacion de sistema +# htop informacion de uso de sistema +# unzip zip bzip2 p7zip-full compresores +# ncdu comando para ver uso de disco duro +# icdiff o diff para ver diferencias entre 2 ficheros +# locales locales-all para evitar problemas de idiomas +# bat alternativa a cat (modificado con alias para que cat sea bat) +# exa alternativa a ls (modificado con alias para que ls sea exa) +# lolcat alternativa a cat con el texto multicolor con pipe lolcat +# cmatrix salvapantallas tipo matrix +# ffmpeg utilidad de video + + + + + sudo apt-get install -y \ bash zsh zgen sudo wget git g++ make gnupg gnupg2 ca-certificates lsb-release \ vim nano libbrotli-dev cmake \ @@ -23,7 +53,7 @@ sudo apt-get install -y \ # Fix batcat -> bat sudo ln -s /usr/bin/batcat /usr/local/bin/bat - +tldr -u # Oh-my-zsh sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended echo source $HOME/.dotfiles/.zshrc >> ~/.zshrc @@ -32,42 +62,28 @@ PNPM_HOME=$HOME/.local/share/pnpm PATH=$HOME/bin:/usr/local/bin:$HOME/.nvm:/usr/local/go/bin:$HOME/.deno/bin:$HOME/.cargo/bin:/usr/share/go/bin:$PNPM_HOME:$PATH # Go install -wget --quiet https://go.dev/dl/go1.18.1.linux-amd64.tar.gz -tar -xvf go1.18.1.linux-amd64.tar.gz -sudo mv go /usr/share -rm go1.18.1.linux-amd64.tar.gz - -# Go installations -go install github.com/muesli/duf@latest -go install github.com/charmbracelet/glow@latest - -# Deno install -curl -fsSL https://deno.land/x/install/install.sh | sh +wget --quiet https://go.dev/dl/go1.22.0.linux-amd64.tar.gz +tar -xvf go1.22.0.linux-amd64.tar.gz +cp -r go /usr/share +rm -rf go +rm go1.22.0.linux-amd64.tar.gz # Node/NPM/PNPM install curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash -curl -fsSL https://get.pnpm.io/install.sh | PNPM_VERSION=7.0.0-rc.7 sh - +curl -fsSL https://get.pnpm.io/install.sh source $HOME/.nvm/nvm.sh nvm install --lts npm install -g svgo wipeclean ttf2woff -# Rust install -curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y - -# Cargo installations -sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev -y -cargo install jless -cargo install zellij -cargo install hyperfine - -# Docker install -curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg -echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian \ - $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null -sudo apt-get update -y && sudo apt-get install docker-ce docker-ce-cli containerd.io -y -sudo usermod -aG docker $USER -sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose -sudo chmod +x /usr/local/bin/docker-compose +# Go installations +go install github.com/muesli/duf@latest +go install github.com/charmbracelet/glow@latest + + + + + + # Micro install curl https://getmic.ro | sudo bash diff --git a/skull.png b/skull.png new file mode 100644 index 0000000..fb2fefd Binary files /dev/null and b/skull.png differ