some misc changes
This commit is contained in:
parent
6bc7d28479
commit
e0ae7683e0
|
@ -7,6 +7,8 @@ autocmd Filetype cpp setlocal ts=4 sw=4 sts=4 expandtab
|
||||||
autocmd Filetype c setlocal ts=4 sw=4 sts=4 expandtab
|
autocmd Filetype c setlocal ts=4 sw=4 sts=4 expandtab
|
||||||
autocmd Filetype css setlocal ts=2 sw=2 sts=2 expandtab
|
autocmd Filetype css setlocal ts=2 sw=2 sts=2 expandtab
|
||||||
autocmd Filetype dart setlocal ts=2 sw=2 sts=2 expandtab
|
autocmd Filetype dart setlocal ts=2 sw=2 sts=2 expandtab
|
||||||
|
autocmd Filetype dockerfile setlocal ts=4 sw=4 sts=4 expandtab
|
||||||
|
autocmd Filetype dot setlocal ts=2 sw=2 sts=2 expandtab
|
||||||
autocmd Filetype elm setlocal ts=2 sw=2 sts=2 expandtab
|
autocmd Filetype elm setlocal ts=2 sw=2 sts=2 expandtab
|
||||||
autocmd Filetype go setlocal ts=4 sw=4 sts=4
|
autocmd Filetype go setlocal ts=4 sw=4 sts=4
|
||||||
autocmd Filetype html setlocal ts=2 sw=2 sts=2 expandtab
|
autocmd Filetype html setlocal ts=2 sw=2 sts=2 expandtab
|
||||||
|
|
|
@ -17,6 +17,7 @@ Plugin 'moll/vim-node'
|
||||||
Plugin 'ElmCast/elm-vim'
|
Plugin 'ElmCast/elm-vim'
|
||||||
Plugin 'posva/vim-vue'
|
Plugin 'posva/vim-vue'
|
||||||
Plugin 'Glench/Vim-Jinja2-Syntax'
|
Plugin 'Glench/Vim-Jinja2-Syntax'
|
||||||
|
Plugin 'wannesm/wmgraphviz.vim'
|
||||||
"" END VUNDLE PLUGINS
|
"" END VUNDLE PLUGINS
|
||||||
call vundle#end()
|
call vundle#end()
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
|
|
|
@ -30,3 +30,13 @@ function docker-gimp() {
|
||||||
--device /dev/dri \
|
--device /dev/dri \
|
||||||
r.jalr.de/sbruder/docker-gimp $files
|
r.jalr.de/sbruder/docker-gimp $files
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function vobsub2srt() {
|
||||||
|
docker run \
|
||||||
|
--rm \
|
||||||
|
-v \
|
||||||
|
$PWD:/data \
|
||||||
|
sbruder/vobsub2srt \
|
||||||
|
--blacklist '„“”|’/\`_~<>' \
|
||||||
|
$@
|
||||||
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Programming languages
|
# Programming languages
|
||||||
|
|
||||||
## Go
|
## Go
|
||||||
export GOPATH="$HOME/opt/go"
|
export GOPATH="$HOME/go"
|
||||||
PATH="$PATH:$GOPATH/bin"
|
PATH="$PATH:$GOPATH/bin"
|
||||||
|
|
||||||
## Node
|
## Node
|
||||||
|
@ -10,10 +10,6 @@ PATH="$PATH:/home/simon/opt/node/bin"
|
||||||
## Python (pip)
|
## Python (pip)
|
||||||
PATH="$PATH:/home/simon/.local/bin"
|
PATH="$PATH:/home/simon/.local/bin"
|
||||||
|
|
||||||
## Dart
|
|
||||||
|
|
||||||
PATH="$PATH:/home/simon/opt/dart-sdk/bin"
|
|
||||||
|
|
||||||
## Lua
|
## Lua
|
||||||
|
|
||||||
PATH="$PATH:$HOME/.luarocks/bin/"
|
PATH="$PATH:$HOME/.luarocks/bin/"
|
||||||
|
@ -144,11 +140,12 @@ unalias ag
|
||||||
# Program aliases/env
|
# Program aliases/env
|
||||||
|
|
||||||
## Aliases for programs
|
## Aliases for programs
|
||||||
alias atom="/home/simon/opt/atom/atom"
|
|
||||||
alias tearstop="compton --backend=glx"
|
alias tearstop="compton --backend=glx"
|
||||||
alias vobsub2srt="docker run -v $PWD:/data --rm -it vobsub2srt vobsub2srt"
|
|
||||||
alias apktool="java -jar ~/opt/apktool_2.3.1.jar"
|
alias apktool="java -jar ~/opt/apktool_2.3.1.jar"
|
||||||
alias mpvhdr="mpv --tone-mapping=hable"
|
alias mpvhdr="mpv --tone-mapping=hable"
|
||||||
|
alias rls="/bin/ls --color=auto"
|
||||||
|
alias exa="exa --git"
|
||||||
|
alias ls="exa"
|
||||||
|
|
||||||
## Environment variables
|
## Environment variables
|
||||||
export HVSC_BASE="$HOME/Dokumente/sound/HVSC/"
|
export HVSC_BASE="$HOME/Dokumente/sound/HVSC/"
|
||||||
|
@ -161,9 +158,8 @@ source ~/.zshrc.docker
|
||||||
## drone ci
|
## drone ci
|
||||||
function drone-add-registry() {
|
function drone-add-registry() {
|
||||||
(
|
(
|
||||||
source ~/.drone-env
|
drone secret add --name docker_username --value sbruder "$1"
|
||||||
drone secret add --name docker_username --value simon "$1"
|
drone secret add --name docker_password --value "$(pass show devops/docker|head -n 1)" "$1"
|
||||||
drone secret add --name docker_password --value "$DRONE_CI_PASSWORD" "$1"
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue