Skip to content

Actualizada version GO #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -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
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down Expand Up @@ -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
```
Expand All @@ -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
Expand Down
18 changes: 8 additions & 10 deletions banner
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
@@@@@@@@@@
@@@ @@
@ &&&&&%%@@@
@@ &&( && (&@ _
@ ##&&&&&&&@ _ __ ___ __ _ _ __ ____ __| | _____ __
@@,@ ### #@ | '_ ` _ \ / _` | '_ \|_ / / _` |/ _ \ \ / /
@@ @@ | | | | | | (_| | | | |/ / | (_| | __/\ V /
@@ *.. @ |_| |_| |_|\__,_|_| |_/___(_)__,_|\___| \_/


( ) (
)\ ) ( ( /( * ) )\ )
(()/( )\ )\())` ) /((()/( ─▄▄▀▀█▀▀▄▄
/(_))((((_)( ((_)\ ( )(_))/(_)) ▐▄▌─▀─▀─▐▄▌
(_)) )\ _ )\ _((_)(_(_())(_)) ──█─▄▄▄─█──▄▄
/ __| (_)_\(_)| \| ||_ _||_ _| ──▄█▄▄▄█▄─▐──▌
\__ \ / _ \ | .` | | | | | ▄█▀█████▐▌─▀─▐
|___/ /_/ \_\ |_|\_| |_| |___| ▀─▄██▀██▀█▀▄▄▀
76 changes: 46 additions & 30 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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
Expand All @@ -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
Expand Down
Binary file added skull.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.