- remove unnecessary nix packages add them - ncdu, alacritty
+ bash aliases file + spacevim + username formatting for starship terminal
This commit is contained in:
7
.bash_aliases
Normal file
7
.bash_aliases
Normal file
@ -0,0 +1,7 @@
|
||||
alias gst='git status'
|
||||
alias ga='git add'
|
||||
alias gc='git commit -m'
|
||||
alias gush='git push'
|
||||
alias gull='git pull'
|
||||
alias gb='git branch'
|
||||
alias vim='nvim'
|
@ -1,22 +1,14 @@
|
||||
nixpkgs.alacritty
|
||||
nixpkgs.btop
|
||||
nixpkgs.cacert
|
||||
nixpkgs.cmake
|
||||
nixpkgs.coreutils
|
||||
nixpkgs.croc
|
||||
nixpkgs.curl
|
||||
nixpkgs.direnv
|
||||
nixpkgs.fd
|
||||
nixpkgs.fzf
|
||||
nixpkgs.git
|
||||
nixpkgs.git-lfs
|
||||
nixpkgs.gnumake
|
||||
nixpkgs.go
|
||||
nixpkgs.jq
|
||||
nixpkgs.lesspipe
|
||||
nixpkgs.lsd
|
||||
nixpkgs.ncdu
|
||||
nixpkgs.neovim
|
||||
nixpkgs.nix
|
||||
nixpkgs.nix-zsh-completions
|
||||
nixpkgs.ripgrep
|
||||
nixpkgs.silver-searcher
|
||||
nixpkgs.starship
|
||||
@ -25,5 +17,3 @@ nixpkgs.tmux
|
||||
nixpkgs.unzip
|
||||
nixpkgs.wget
|
||||
nixpkgs.yadm
|
||||
nixpkgs.zplug
|
||||
nixpkgs.zsh
|
||||
|
@ -1,5 +1,6 @@
|
||||
format = """
|
||||
$jobs\
|
||||
$username\
|
||||
$character\
|
||||
"""
|
||||
|
||||
@ -54,3 +55,10 @@ stashed = ""
|
||||
format = "[$hostname]($style)"
|
||||
ssh_only = true
|
||||
style = "150"
|
||||
|
||||
[username]
|
||||
style_user = 'white bold'
|
||||
style_root = 'black bold'
|
||||
format = '[$user]($style) '
|
||||
disabled = false
|
||||
show_always = true
|
||||
|
@ -23,22 +23,24 @@ install_nix() {
|
||||
command -v nix >/dev/null 2>&1 || install_nix_bin
|
||||
}
|
||||
|
||||
configure_zsh() {
|
||||
# FIXME: We deserve better
|
||||
source $HOME/.zshrc
|
||||
}
|
||||
|
||||
configure_vim() {
|
||||
# Install vim-plug for Vim
|
||||
#curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||
#vim +'PlugInstall --sync' +qa
|
||||
|
||||
# Install vim-plug for Neovim
|
||||
# This is temporary disable, because that it hundreds modules and many error on compilation stage of this
|
||||
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||
nvim +'PlugInstall --sync' +qa
|
||||
}
|
||||
|
||||
install_spacevim() {
|
||||
# https://habr.com/ru/companies/cloud4y/articles/574450/
|
||||
curl -sLf https://spacevim.org/install.sh | bash
|
||||
}
|
||||
|
||||
install_nix
|
||||
|
||||
#configure_zsh
|
||||
configure_vim
|
||||
#configure_vim
|
||||
|
||||
install_spacevim
|
||||
|
@ -3,7 +3,8 @@
|
||||
##
|
||||
## Editors
|
||||
##
|
||||
export EDITOR=vi
|
||||
export EDITOR=nvim
|
||||
export TERMINAL=alacritty
|
||||
export GIT_EDITOR="$EDITOR"
|
||||
export USE_EDITOR="$EDITOR"
|
||||
export VISUAL=$EDITOR
|
||||
|
Reference in New Issue
Block a user