add fedora and git script
parent
3dba56b0a3
commit
418ad427a0
|
@ -3,7 +3,7 @@
|
||||||
sudo apt install build-essential \
|
sudo apt install build-essential \
|
||||||
zsh \
|
zsh \
|
||||||
curl wget git \
|
curl wget git \
|
||||||
neovim \
|
neovim tmux \
|
||||||
exa fd-find ripgrep \
|
exa fd-find ripgrep \
|
||||||
openssh-server openssh-client
|
openssh-server openssh-client
|
||||||
|
|
||||||
|
@ -12,3 +12,7 @@ sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/too
|
||||||
|
|
||||||
# https://github.com/romkatv/powerlevel10k#oh-my-zsh
|
# https://github.com/romkatv/powerlevel10k#oh-my-zsh
|
||||||
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
|
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
|
||||||
|
|
||||||
|
# https://github.com/junegunn/fzf#using-git
|
||||||
|
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
|
||||||
|
~/.fzf/install
|
|
@ -0,0 +1,20 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
sudo dnf install \
|
||||||
|
util-linux-user tar \
|
||||||
|
zsh \
|
||||||
|
curl wget git \
|
||||||
|
neovim tmux \
|
||||||
|
exa bat fd-find ripgrep \
|
||||||
|
openssh \
|
||||||
|
golang
|
||||||
|
|
||||||
|
# https://github.com/ohmyzsh/ohmyzsh/
|
||||||
|
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
||||||
|
|
||||||
|
# https://github.com/romkatv/powerlevel10k#oh-my-zsh
|
||||||
|
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
|
||||||
|
|
||||||
|
# https://github.com/junegunn/fzf#using-git
|
||||||
|
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
|
||||||
|
~/.fzf/install
|
|
@ -0,0 +1,21 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Aliases
|
||||||
|
git config --global alias.br branch
|
||||||
|
git config --global alias.ci commit
|
||||||
|
git config --global alias.cl clone
|
||||||
|
git config --global alias.co checkout
|
||||||
|
git config --global alias.df diff
|
||||||
|
git config --global alias.lg log
|
||||||
|
git config --global alias.pl pull
|
||||||
|
git config --global alias.ps push
|
||||||
|
git config --global alias.st status
|
||||||
|
git config --global alias.sw switch
|
||||||
|
|
||||||
|
# Editor
|
||||||
|
git config --global core.editor nvim
|
||||||
|
|
||||||
|
# Misc
|
||||||
|
git config --global pull.rebase true
|
||||||
|
git config --global init.defaultBranch main
|
||||||
|
git config --global fetch.prune true
|
Loading…
Reference in New Issue