mirror of
https://github.com/neoromantique/dotfiles.git
synced 2026-03-13 21:53:20 +03:00
small tweaks
This commit is contained in:
9
.bashrc
9
.bashrc
@@ -11,7 +11,12 @@ EDITOR=vim
|
||||
|
||||
|
||||
getCurrentSKMKey() {
|
||||
skm ls | grep -e '->' | awk '{print $2}'
|
||||
if ! command -v skm &> /dev/null
|
||||
then
|
||||
echo "none"
|
||||
else
|
||||
skm ls | grep -e '->' | awk '{print $2}'
|
||||
fi
|
||||
}
|
||||
|
||||
export PS1='`date +'%H:%M'`:[\h]|\e[00;33m\]🔑`getCurrentSKMKey`\e[00;0m\]|`pwd` \n\[\e[00;32m\]\u\[\e[0m\]\[\e[00;37m\]$ '
|
||||
@@ -93,7 +98,7 @@ if [ -f /etc/bash_completion ]; then
|
||||
. /etc/bash_completion
|
||||
fi
|
||||
|
||||
export PY_USER_BIN=$(python -c 'import site; print(site.USER_BASE + "/bin")')
|
||||
export PY_USER_BIN=$(python3 -c 'import site; print(site.USER_BASE + "/bin")')
|
||||
export PATH=$PY_USER_BIN:$PATH
|
||||
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
|
||||
10
setup.sh
10
setup.sh
@@ -7,7 +7,7 @@ read -p "Install dependencies? [Ubuntu only]" -n 1 -r
|
||||
echo
|
||||
if [[ $REPLY =~ ^[Yy]$ ]]
|
||||
then
|
||||
sudo apt install curl vim silversearcher-ag nmap neofetch gdebi git ranger tig mycli pgcli fzf jq miller newsboat
|
||||
sudo apt install curl vim silversearcher-ag nmap neofetch git ranger tig mycli fzf jq miller newsboat
|
||||
fi
|
||||
|
||||
read -p "Delete old backups? " -n 1 -r
|
||||
@@ -70,10 +70,10 @@ ln -rsf .vimrc ~/.vimrc
|
||||
#git clone https://github.com/neoclide/coc.nvim ~/.vim/pack/plugins/start/coc.nvim
|
||||
#cd ~/.vim/pack/plugins/start/coc.nvim && ./install.sh && yarn install --frozen-lockfile
|
||||
|
||||
echo -e "${GREEN} Installing Pathogen ${RESET}"
|
||||
echo -e "${GREEN} Vundle ${RESET}"
|
||||
|
||||
mkdir -p ~/.vim/autoload ~/.vim/bundle && \
|
||||
curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
|
||||
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
|
||||
|
||||
mkdir -p ~/.vim/plugin
|
||||
git clone git://github.com/mattn/calendar-vim ~/.vim/bundle/calendar-vim
|
||||
@@ -87,10 +87,6 @@ echo -e "${GREEN} Please run :helptags on first run ${RESET}"
|
||||
git clone https://github.com/vim-airline/vim-airline ~/.vim/bundle/vim-airline &> /dev/null
|
||||
git clone git://github.com/digitaltoad/vim-pug.git &> /dev/null
|
||||
|
||||
echo -e "${GREEN} Vundle ${RESET}"
|
||||
|
||||
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
|
||||
|
||||
echo -e "${GREEN} mustang colour theme ${RESET}"
|
||||
mkdir -p tmp/
|
||||
git clone https://github.com/croaker/mustang-vim tmp/mustang &> /dev/null
|
||||
|
||||
Reference in New Issue
Block a user