From 491e24b8f99c7664509135be8a3800dce19a6afa Mon Sep 17 00:00:00 2001 From: cyteen Date: Thu, 2 Jul 2020 14:28:40 +0100 Subject: [PATCH] Minor changes. --- 010_apt-get.sh | 1 + 020_tldr-broken.sh | 52 +++++++++++++++++++++++++++++++++++++++++++ 020_vim.sh | 12 ++++++++-- 020_waterfox.sh | 2 +- build_deb_from_dsc.sh | 6 +++++ 5 files changed, 70 insertions(+), 3 deletions(-) create mode 100644 020_tldr-broken.sh diff --git a/010_apt-get.sh b/010_apt-get.sh index 33b6c05..05c22e5 100755 --- a/010_apt-get.sh +++ b/010_apt-get.sh @@ -32,6 +32,7 @@ apt install -y smem smemcap smemstat apt install -y htop apt install -y iotop apt install -y inotify-tools +apt install -y libguestfs-tools apt install -y sysstat apt install -y mpv apt install -y netcat diff --git a/020_tldr-broken.sh b/020_tldr-broken.sh new file mode 100644 index 0000000..9309fe5 --- /dev/null +++ b/020_tldr-broken.sh @@ -0,0 +1,52 @@ +#!/usr/bin/env bash +sudo apt -y install tldr-py fzf + +TLDR_CONFIG_DIR=${HOME}/.tldr +#mkdir -p ${TLDR_CONFIG_DIR} + +cd ${HOME} +git clone https://github.com/tldr-pages/tldr.git .tldr + +cat > ${HOME}/.zsh_aliases.d/003_tldr.zsh < ${HOME}/.tldrrc <<'EOF' +"pagesRepository": "https://github.com/tldr-pages/tldr" +"repository": "https://tldr-pages.github.io/assets/tldr.zip" +"themes": + "simple": + "commandName": "bold, underline" + "mainDescription": "bold" + "exampleDescription": "" + "exampleCode": "" + "exampleToken": "underline" + "base16": + "commandName": "bold" + "mainDescription": "" + "exampleDescription": "green" + "exampleCode": "red" + "exampleToken": "cyan" + "ocean": + "commandName": "bold, cyan" + "mainDescription": "" + "exampleDescription": "green" + "exampleCode": "cyan" + "exampleToken": "dim" + "inverse": + "commandName": "bold, inverse" + "mainDescription": "inverse" + "exampleDescription": "black" + "exampleCode": "inverse" + "exampleToken": "green, bgBlack, inverse" + "matrix": + "commandName": "bold", + "mainDescription": "underline" + "exampleDescription": "green, bgBlack" + "exampleCode": "green, bgBlack" + "exampleToken": "green, bold, bgBlack" +"theme": "ocean" +"platform": "linux" +EOF diff --git a/020_vim.sh b/020_vim.sh index ae06dd2..cbc9e46 100755 --- a/020_vim.sh +++ b/020_vim.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash set -x -apt install -y powerline #vim-airline vim-airline-themes +apt install -y powerline grip pandoc pandoc #vim-airline vim-airline-themes DEST=${1:-/etc/skel} sed -i -e 's/"syntax on/syntax on/' /etc/vim/vimrc @@ -235,8 +235,16 @@ nnoremap :NERDTreeFind:vertical let g:NERDTreeMapActivateNode="" let g:NERDTreeMapPreview="" -Plugin 'saltstack/salt-vim' +Plugin 'godlygeek/tabular' Plugin 'plasticboy/vim-markdown' + +Plugin 'imcco/markdown-preview.nvim' +let vim_markmdown_preview_github=1 +"let vim_markmdown_preview_pandoc=1 +let vim_markdown_preview_toggle=1 +let vim_markdown_preview_hotkey='' + +Plugin 'saltstack/salt-vim' Plugin 'fatih/vim-go' " CtrlP diff --git a/020_waterfox.sh b/020_waterfox.sh index 646b130..fefc125 100755 --- a/020_waterfox.sh +++ b/020_waterfox.sh @@ -26,7 +26,7 @@ apt update # waterfox-current-kpe - Free, open and private browser with better integration with KDE # waterfox-current-i18n-en-gb - English (British) language pack for Waterfox Current -apt install -y waterfox-classic-kpe watefox-classic-i18n-en-gb +apt install -y waterfox-classic-kpe waterfox-classic-i18n-en-gb update-alternatives --install /usr/bin/x-www-browser x-www-browser /usr/bin/waterfox-classic 201 diff --git a/build_deb_from_dsc.sh b/build_deb_from_dsc.sh index 487b37b..50bc5e7 100755 --- a/build_deb_from_dsc.sh +++ b/build_deb_from_dsc.sh @@ -27,6 +27,12 @@ cd * # Install the build deps mk-build-deps debian/control --install --root-cmd sudo --remove +## Update to latest via uscan and debian/watch +#VERSION=$(uscan --no-download ) +#uscan --verbose +#uupdate -v 1.11.5 ../*.tar.gz +#cd ../*${VERSION} + # Build the packages if [ -d debian ]; then dpkg-buildpackage -us -uc -b