mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-23 02:35:38 +01:00
🔥 Remove unnecessary make_animation folder.
This commit is contained in:
parent
e9b268617e
commit
06f1bdd037
6 changed files with 0 additions and 1534 deletions
2
plugins/viper-env/make_animation/.gitignore
vendored
2
plugins/viper-env/make_animation/.gitignore
vendored
|
|
@ -1,2 +0,0 @@
|
||||||
node_modules
|
|
||||||
temporary_folder
|
|
||||||
Binary file not shown.
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 1.7 MiB |
|
|
@ -1,33 +0,0 @@
|
||||||
{
|
|
||||||
"name": "make-animation",
|
|
||||||
"version": "1.0.0",
|
|
||||||
"description": "Makes viper-env README.md animation",
|
|
||||||
"main": "index.js",
|
|
||||||
"scripts": {
|
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
|
||||||
"phase_one": "svg-term --cast=1J6AsLVqynFFX5JcTLxFDLYh3 --out assets/usage.svg --profile DanielAtKrypton --window --term konsole",
|
|
||||||
"phase_two": "svgembed -i assets/usage.svg -o assets/final.svg -f assets/FiraCodeRetinaNF.ttf -t \"viper-env is cool\" --hover",
|
|
||||||
"all_phases": "yarn phase_one && yarn phase_two && rm assets/usage.svg",
|
|
||||||
"postinstall": "yarn all_phases"
|
|
||||||
},
|
|
||||||
"repository": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "git+https://github.com/DanielAtKrypton/viper-env.git"
|
|
||||||
},
|
|
||||||
"keywords": [
|
|
||||||
"Virtualenv",
|
|
||||||
"Python",
|
|
||||||
"Direnv",
|
|
||||||
"Zsh"
|
|
||||||
],
|
|
||||||
"author": "Daniel Kaminski de Souza",
|
|
||||||
"license": "ISC",
|
|
||||||
"bugs": {
|
|
||||||
"url": "https://github.com/DanielAtKrypton/viper-env/issues"
|
|
||||||
},
|
|
||||||
"homepage": "https://github.com/DanielAtKrypton/viper-env#readme",
|
|
||||||
"devDependencies": {
|
|
||||||
"svg-term-cli": "^2.1.1",
|
|
||||||
"svgembed": "https://github.com/miraclx/svgembed.git"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,61 +0,0 @@
|
||||||
record_session(){
|
|
||||||
sudo apt-get install asciinema
|
|
||||||
|
|
||||||
output_folder=assets
|
|
||||||
filename=asciinema-recording.cast
|
|
||||||
|
|
||||||
asciinema rec $output_folder/$filename
|
|
||||||
sleep 2
|
|
||||||
|
|
||||||
echo "Global pip packages..."
|
|
||||||
pip list
|
|
||||||
sleep 2
|
|
||||||
|
|
||||||
temp_folder=temporary_folder
|
|
||||||
mkdir $temp_folder
|
|
||||||
cd $temp_folder
|
|
||||||
sleep 2
|
|
||||||
|
|
||||||
# Ask for its help
|
|
||||||
viper-env help
|
|
||||||
sleep 2
|
|
||||||
|
|
||||||
# Create virutal environment
|
|
||||||
python -m venv .venv
|
|
||||||
sleep 2
|
|
||||||
|
|
||||||
# Activate it
|
|
||||||
. .venv/bin/activate
|
|
||||||
sleep 2
|
|
||||||
|
|
||||||
# Create direnv file
|
|
||||||
export VIRTUAL_ENV=venv > .envrc
|
|
||||||
sleep 2
|
|
||||||
|
|
||||||
# Allow it
|
|
||||||
direnv allow .
|
|
||||||
sleep 2
|
|
||||||
|
|
||||||
# Save current dir
|
|
||||||
current_dir=$(basename $PWD)
|
|
||||||
sleep 2
|
|
||||||
|
|
||||||
# Exit current directory
|
|
||||||
cd ..
|
|
||||||
sleep 2
|
|
||||||
|
|
||||||
# Reenter it
|
|
||||||
cd $current_dir
|
|
||||||
sleep 2
|
|
||||||
|
|
||||||
echo "Virtualenv pip packages..."
|
|
||||||
pip list
|
|
||||||
python -m pip install upgrade pip
|
|
||||||
sleep 2
|
|
||||||
|
|
||||||
echo "Virtualenv pip packages with updated pip now..."
|
|
||||||
pip list
|
|
||||||
sleep 2
|
|
||||||
|
|
||||||
exit
|
|
||||||
}
|
|
||||||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue