fixes case insensitive xonsh and full install
This commit is contained in:
parent
e05da01d7e
commit
57493d20eb
|
@ -4,13 +4,15 @@ NAME="waldek"
|
|||
EMAIL="waldek@mailbox.org"
|
||||
DEFAULT_SHELL="xonsh"
|
||||
DEPENDENCIES_APT="zsh git tig tmux vim-nox htop python3 python3-pip"
|
||||
DEPENDENCIES_PIP="xonsh"
|
||||
DEPENDENCIES_PIP="xonsh[full]"
|
||||
|
||||
SOURCES_DIR=~/sources/gitea_irisib
|
||||
BOOTSTRAP_DIR=~/sources/gitea_irisib/bootstrap
|
||||
CUSTOM_ZSHRC=$BOOTSTRAP_DIR/custom.zsh
|
||||
CUSTOM_ENV=$BOOTSTRAP_DIR/env.sh
|
||||
|
||||
LOG=/dev/null
|
||||
|
||||
if [[ -z $(groups | grep sudo) ]]; then
|
||||
echo "you need to be in the sudo group to run this script..."
|
||||
exit 1
|
||||
|
@ -123,7 +125,7 @@ function symlink_config_files () {
|
|||
|
||||
function install_pip_dependencies () {
|
||||
for dep in $DEPENDENCIES_PIP; do
|
||||
sudo pip3 install --upgrade $dep > $LOG && echo "installed $dep"
|
||||
pip3 install --upgrade "$dep" > $LOG && echo "installed $dep"
|
||||
done
|
||||
echo "--- ${FUNCNAME[0]} done"
|
||||
}
|
||||
|
|
2
xonshrc
2
xonshrc
|
@ -2,7 +2,6 @@ import os
|
|||
# set where oh-my-xonsh lives
|
||||
if not 'OMX_HOME' in ${...}:
|
||||
$OMX_HOME = p"~/.config/xonsh/oh-my-xonsh"
|
||||
|
||||
# clone omx if needed
|
||||
if not pf"{$OMX_HOME}".exists():
|
||||
git clone --depth=1 https://github.com/oh-my-xonsh/oh-my-xonsh $OMX_HOME
|
||||
|
@ -35,4 +34,5 @@ omx.plugins = [
|
|||
omx.init()
|
||||
|
||||
$XONSH_COLOR_STYLE = "solarized-dark"
|
||||
$CASE_SENSITIVE_COMPLETIONS = False
|
||||
|
||||
|
|
Loading…
Reference in New Issue