added individual py-env into .zshrc-mac

This commit is contained in:
crunchie
2025-05-06 18:39:26 +02:00
parent f4ef4ce5ae
commit cfbc1299bd
2 changed files with 8 additions and 7 deletions

View File

@@ -114,6 +114,7 @@ fi
#autoload -Uz compinit #autoload -Uz compinit
#compinit #compinit
source $HOME/.zshrc-theme source $HOME/.zshrc-theme
source $HOME/py_ansible/bin/activate
HISTSIZE=1000 HISTSIZE=1000
HISTFILESIZE=2000 HISTFILESIZE=2000
export EDITOR=vim export EDITOR=vim

View File

@@ -1,10 +1,10 @@
#!/bin/bash #!/bin/bash
## Author: crunchie ## Author: crunchie
## Description: Script to automatically link up certain files in home-directory to pre-built versions. ## Description: Script to automatically link up certain files in home-directory to pre-built versions.
## Backups of currently installed versions are made in a .dtbak-file. ## Backups of currently installed versions are made in a .dtbak-file.
## Links the .zshrc, .zshrc-theme and .aliases file to different files depending on whether a linux or mac platform is in use. ## Links the .zshrc, .zshrc-theme and .aliases file to different files depending on whether a linux or mac platform is in use.
## install routine checks whether .oh-my-zsh exists in users home-folder - and install .oh-my-zsh unattended if not. ## install routine checks whether .oh-my-zsh exists in users home-folder - and install .oh-my-zsh unattended if not.
## if .oh-my-zsh is installed the version will be updated to the current version. ## if .oh-my-zsh is installed the version will be updated to the current version.
# function to check if mac or linux # function to check if mac or linux
check_os () { check_os () {