Skip to content

Instantly share code, notes, and snippets.

@marcodotcastro
Last active April 23, 2023 20:37
Show Gist options
  • Save marcodotcastro/bceee29999bc8e61e164ac65fc8cbd38 to your computer and use it in GitHub Desktop.
Save marcodotcastro/bceee29999bc8e61e164ac65fc8cbd38 to your computer and use it in GitHub Desktop.
v23.0: Como melhorar o terminal?

Zsh

Instalação

sudo apt install zsh

Plugins

Oh My Zsh

https://github.com/ohmyzsh/ohmyzsh

fzf

Procura diretorio

https://github.com/junegunn/fzf

zsh-autosuggestions *

Sugere ao digitar

https://github.com/zsh-users/zsh-autosuggestions

zsh-syntax-highlighting *

Mudar a cor para melhor a leitura

https://github.com/zsh-users/zsh-syntax-highlighting

Z *

Pula para um diretorio

https://github.com/agkozak/zsh-z

Ports*

Lista as portas usadas

https://github.com/caarlos0-graveyard/ports

Vários Plugins

https://github.com/unixorn/awesome-zsh-plugins

Oh My Zsh

Plugins

https://github.com/ohmyzsh/ohmyzsh/wiki/Plugins

Meus: git rails git-flow

plugins=(git rails git-flow)

Temas

https://github.com/ohmyzsh/ohmyzsh/wiki/Themes

Meu: powerlevel10k

powerlevel10k/powerlevel10k

Gerenciar Plugins *=gerenciavéis

Antibody

https://getantibody.github.io/

History

Configuração

HISTSIZE=100000
SAVEHIST=100000
HISTFILE=~/.zsh_history

setopt INC_APPEND_HISTORY
setopt EXTENDED_HISTORY
setopt HIST_IGNORE_ALL_DUPS
export HISTTIMEFORMAT="[%F %T] "

Tmux

https://github.com/tmux/tmux

Comandos

https://gist.github.com/MohamedAlaa/2961058

Configuração

##############################  
# Configuration
##############################

# set Zsh as your default Tmux shell
set-option -g default-shell /bin/zsh

# act like GNU screen
unbind C-b
set-option -g prefix C-t
bind-key C-t send-prefix

# Getting interesting now, we use the vertical and horizontal
# symbols to split the screen
bind - split-window -h
bind = split-window -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment