Skip to content
Snippets Groups Projects
Commit 5a0f8fb9 authored by nimrod's avatar nimrod
Browse files

Python startup script.

Use the pythonrc Python startup script added as a submodule instead of
fiddling around with a script to build a (not really working) version
for myself.
parent 347014cd
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,7 @@ export PATH="$HOME/Documents/Shore/ssl-ca:$PATH" ...@@ -16,7 +16,7 @@ export PATH="$HOME/Documents/Shore/ssl-ca:$PATH"
export PATH="$HOME/.cargo/bin:$PATH" export PATH="$HOME/.cargo/bin:$PATH"
export PATH="$HOME/.cabal/bin:$PATH" export PATH="$HOME/.cabal/bin:$PATH"
export PATH="$HOME/Documents/bin:$PATH" export PATH="$HOME/Documents/bin:$PATH"
export PYTHONSTARTUP=~/.config/python/startup.py export PYTHONSTARTUP=~/.config/pythonrc/pythonrc.py
export AWS_DEFAULT_PROFILE='shore' export AWS_DEFAULT_PROFILE='shore'
export ANSIBLE_VERBOSITY=2 export ANSIBLE_VERBOSITY=2
export ANSIBLE_COMMAND_WARNINGS=True export ANSIBLE_COMMAND_WARNINGS=True
......
This diff is collapsed.
#!/usr/bin/env python
from pprint import PrettyPrinter
pprint = PrettyPrinter().pprint
Subproject commit d9f2c7a9caf0076c011bbe0aa42fca641432ea57
...@@ -9,8 +9,6 @@ echo Loading dconf config >> /dev/stderr ...@@ -9,8 +9,6 @@ echo Loading dconf config >> /dev/stderr
Documents/bin/dconf-load Documents/bin/dconf-load
echo Configuring Git repo >> /dev/stderr echo Configuring Git repo >> /dev/stderr
git config --local status.showUntrackedFiles no git config --local status.showUntrackedFiles no
echo Creating Python startup file >> /dev/stderr
Documents/bin/gen-python-startup
echo Creating Bash completion scripts >> /dev/stderr echo Creating Bash completion scripts >> /dev/stderr
Documents/bin/gen-bash-completion Documents/bin/gen-bash-completion
echo Adding Cron job >> /dev/stderr echo Adding Cron job >> /dev/stderr
......
...@@ -21,3 +21,6 @@ ...@@ -21,3 +21,6 @@
[submodule "Documents/Shore/poquita"] [submodule "Documents/Shore/poquita"]
path = Documents/Shore/poquita path = Documents/Shore/poquita
url = https://www.shore.co.il/git/poquita url = https://www.shore.co.il/git/poquita
[submodule ".config/pythonrc"]
path = .config/pythonrc
url = https://github.com/lonetwin/pythonrc.git
#!/bin/sh
set -eu
find "$HOME/.config/python/startup" -type f \! -name '.*' -print0 | sort --zero | xargs -0 cat > "$HOME/.config/python/startup.py"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment