Move Ruby packages to Arch (quarry repo)
This commit is contained in:
parent
b775636d41
commit
5562c303ad
|
@ -54,15 +54,6 @@ alias l1='ls -ANFH1'
|
|||
alias l='ls -lhNFHB'
|
||||
# }}}
|
||||
|
||||
# Switch between git & hub commands {{{
|
||||
git() {
|
||||
case "$1" in
|
||||
alias|fork|pr) command git "$@" ;;
|
||||
*) command hub "$@" ;;
|
||||
esac
|
||||
}
|
||||
# }}}
|
||||
|
||||
# Add an alert function for long running commands {{{
|
||||
alert() { # Use like so: sleep 10; alert
|
||||
# shellcheck disable=SC2181
|
||||
|
|
|
@ -35,11 +35,9 @@ export EDITOR=nvim
|
|||
# Set the default browser to firefox
|
||||
export BROWSER=firefox
|
||||
|
||||
# Set the android sdk directory
|
||||
export ANDROID_HOME=~/.android/sdk/
|
||||
|
||||
# Set the path used by go
|
||||
# Set the paths used by go {{{
|
||||
export GOPATH="$HOME/.local/go"
|
||||
# }}}
|
||||
|
||||
# Set the paths used by rubygems {{{
|
||||
export GEM_HOME="$HOME/.local/ruby"
|
||||
|
@ -47,12 +45,18 @@ export GEM_SPEC_CACHE="$GEM_HOME/specs"
|
|||
export GEM_PATH="$GEM_HOME:/usr/lib/ruby/gems/2.6.0"
|
||||
# }}}
|
||||
|
||||
# Set the path used by perl5 {{{
|
||||
# Set the paths used by perl5 {{{
|
||||
export PERL5LIB="$HOME/.local/perl/lib/perl5"
|
||||
export PERL_CPANM_OPT="-l ~/.local/perl"
|
||||
export PERL_CPANM_HOME="$HOME/.local/perl/.cpanm"
|
||||
# }}}
|
||||
|
||||
# Set the paths used by the android sdk {{{
|
||||
export ANDROID_EMULATOR_HOME="$HOME/.local/android/emulator"
|
||||
export ANDROID_AVD_HOME="$HOME/.local/android/avd"
|
||||
export ANDROID_SDK_ROOT="$HOME/.local/android/sdk"
|
||||
# }}}
|
||||
|
||||
# Set the search path for commands
|
||||
export PATH="$HOME/.local/bin:$PATH:$GOPATH/bin:$GEM_HOME/bin:$HOME/.yarn/bin"
|
||||
|
||||
|
|
|
@ -11,12 +11,6 @@
|
|||
[credential]
|
||||
helper = store
|
||||
|
||||
[github]
|
||||
user = ObserverOfTime
|
||||
|
||||
[web]
|
||||
browser = ${BROWSER:-firefox}
|
||||
|
||||
[gpg]
|
||||
program = gpg2
|
||||
|
||||
|
@ -78,6 +72,7 @@
|
|||
wdiff = diff --word-diff
|
||||
cdiff = diff --word-diff-regex=. --color-words
|
||||
conflicts = diff --name-only --diff-filter=U
|
||||
root = rev-parse --show-toplevel
|
||||
shallow = clone --single-branch --depth=1
|
||||
lab = !git clone git@gitlab.com:"$1" "${@:2}" "#"
|
||||
aur = !git clone aur@aur.archlinux.org:"$1" "${@:2}" "#"
|
||||
|
@ -117,7 +112,6 @@
|
|||
-sSX PATCH \"https://api.github.com/repos/$user/${2:-$root}\" \
|
||||
-d \"{\\\"name\\\": \\\"${1:?}\\\"}\"; \
|
||||
git remote set-url \"${3:-origin}\" \"https://github.com/$user/$1\" )"
|
||||
open-page = "!xdg-open \"$(basename \"$(git root)\")\""
|
||||
|
||||
[url "git@github.com:"]
|
||||
insteadOf = https://github.com/
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
# Enable multilib & add oracle repo {{{
|
||||
# Enable multilib & add extra repos {{{
|
||||
sudo cp /etc/pacman.conf{,.bak}
|
||||
sudo sed -i /etc/pacman.conf \
|
||||
-e 's/^#\(Color\)/\1\nILoveCandy/' \
|
||||
-e '/\[multilib\]/,/Include/s/^#//' \
|
||||
-e '$ a [oracle]\nSigLevel = OptionalTrustAll' \
|
||||
-e '$ a Server = http://linux.shikadi.net/arch/$repo/$arch'
|
||||
-e '$ a [oracle]\nSigLevel = Optional TrustAll' \
|
||||
-e '$ a Server = http://linux.shikadi.net/arch/$repo/$arch' \
|
||||
-e '$ a [quarry]\nServer = https://pkgbuild.com/~anatolik/quarry/x86_64/'
|
||||
# }}}
|
||||
|
||||
# Update system and install basic packages {{{
|
||||
|
|
|
@ -99,8 +99,8 @@ rclone
|
|||
ripgrep
|
||||
rstcheck
|
||||
ruby
|
||||
ruby-bundler
|
||||
rubygems
|
||||
ruby-jekyll
|
||||
ruby-travis
|
||||
screenfetch
|
||||
scribus
|
||||
sddm-kcm
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
source 'https://rubygems.org'
|
||||
|
||||
gem 'jekyll'
|
||||
gem 'neovim'
|
||||
gem 'rake'
|
||||
gem 'rdoc'
|
||||
gem 'ronn'
|
||||
gem 'rouge'
|
||||
gem 'sqlint'
|
||||
gem 'travis'
|
||||
|
|
@ -83,7 +83,6 @@ Managed via [dotfiles.sh](https://github.com/eli-schwartz/dotfiles.sh)
|
|||
## [Pip](https://pypi.org/project/pip/)
|
||||
|
||||
* [.config/pip/pip.conf](.config/pip/pip.conf): configuration file
|
||||
* [.config/pip/requirements.txt](.config/pip/requirements.txt): package list
|
||||
|
||||
## [Pycodestyle](http://pycodestyle.pycqa.org/en/latest/)
|
||||
|
||||
|
@ -97,10 +96,6 @@ Managed via [dotfiles.sh](https://github.com/eli-schwartz/dotfiles.sh)
|
|||
|
||||
* [.pug-lintrc.json](.pug-lintrc.json): configuration file
|
||||
|
||||
## [Ruby](https://www.ruby-lang.org/en/)
|
||||
|
||||
* [.local/ruby/Gemfile](.local/ruby/Gemfile): package list
|
||||
|
||||
## [Stylelint](https://stylelint.io/)
|
||||
|
||||
* [.stylelintrc.json](.stylelintrc.json): configuration file
|
||||
|
|
Loading…
Reference in New Issue