Compare commits

...

11 Commits
v1.7.1 ... main

Author SHA1 Message Date
PandaCoderPL 88580ed5ce
Add alias with proxy for PIP to Bash config
Signed-off-by: PandaCoderPL <git@pandacoderpl.anonaddy.me>
2021-11-28 22:30:13 +00:00
PandaCoderPL 579939c2b0
Add Polish Readme
Signed-off-by: PandaCoderPL <git@pandacoderpl.anonaddy.me>
2021-11-27 02:13:02 +00:00
PandaCoderPL 3e0e04d538
Add missing date to Changelog
Signed-off-by: PandaCoderPL <git@pandacoderpl.anonaddy.me>
2021-11-26 20:52:41 +00:00
PandaCoderPL c5dd948f61
Changed names of some sections into questions in Readme
Signed-off-by: PandaCoderPL <git@pandacoderpl.anonaddy.me>
2021-11-26 20:22:02 +00:00
PandaCoderPL 797609a1d3
Add proxy for Git protocol to Git config and git-proxy script
Signed-off-by: PandaCoderPL <git@pandacoderpl.anonaddy.me>
2021-11-25 23:09:00 +00:00
PandaCoderPL 095d4d3969
Change style of some aliases in Git config
Signed-off-by: PandaCoderPL <git@pandacoderpl.anonaddy.me>
2021-11-23 22:12:37 +00:00
PandaCoderPL 6dce6e8749
Add code to include secret config in Bash config
Signed-off-by: PandaCoderPL <git@pandacoderpl.anonaddy.me>
2021-11-22 17:16:50 +00:00
PandaCoderPL c50f672f75
Add timeout to SSH agent in Bash config
Signed-off-by: PandaCoderPL <git@pandacoderpl.anonaddy.me>
2021-11-22 00:58:07 +00:00
PandaCoderPL 9778c6c2d4
Add Proxy for Lokinet to SSH config
Signed-off-by: PandaCoderPL <git@pandacoderpl.anonaddy.me>
2021-11-22 00:54:43 +00:00
PandaCoderPL 40d1278350
Add Proxy for Lokinet to Git config
Signed-off-by: PandaCoderPL <git@pandacoderpl.anonaddy.me>
2021-11-19 14:42:55 +00:00
PandaCoderPL d890288734
Add alias to Git config
Signed-off-by: PandaCoderPL <git@pandacoderpl.anonaddy.me>
2021-11-19 14:38:50 +00:00
8 changed files with 125 additions and 13 deletions

View File

@ -4,6 +4,51 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.8.1] - 2021-11-28
### Added
- Alias with proxy for PIP to [Bash Config](home/.bashrc)
## [1.8.0] - 2021-11-27
### Added
- [Polish Readme](README.pl.md).
## [1.7.10] - 2021-11-26
### Added
- Missing date to [Changelog](CHANGELOG.md)
## [1.7.9] - 2021-11-26
### Changed
- Names of some sections into questions in [Readme](README.md)
## [1.7.8] - 2021-11-25
### Added
- Proxy for Git protocol to [Git Config](home/.config/git/config)
- git-proxy script.
## [1.7.7] - 2021-11-23
### Changed
- Style of some aliases in [Git Config](home/.config/git/config)
## [1.7.6] - 2021-11-22
### Added
- Code to include secret config in [Bash Config](home/.bashrc)
## [1.7.5] - 2021-11-22
### Added
- Timeout to SSH agent in [Bash Config](home/.bashrc)
## [1.7.4] - 2021-11-22
### Added
- Proxy for Lokinet to [SSH Config](home/.ssh/config)
## [1.7.3] - 2021-11-19
### Added
- Proxy for Lokinet to [Git Config](home/.config/git/config)
## [1.7.2] - 2021-11-19
### Added
- Alias to [Git Config](home/.config/git/config)
## [1.7.1] - 2021-11-19 ## [1.7.1] - 2021-11-19
### Fixed ### Fixed
- Alias in [Git Config](home/.config/git/config) - Alias in [Git Config](home/.config/git/config)

View File

@ -1,3 +1,5 @@
[Polski](README.pl.md)
# dotfiles # dotfiles
Repository with my dotfiles. Repository with my dotfiles.
@ -5,11 +7,11 @@ Repository with my dotfiles.
## Contents ## Contents
* [Configuration Files](#configuration-files) * [Configuration Files](#configuration-files)
* [Downloading](#downloading) * [How to download?](#how-to-download)
* [Using Git](#using-git) * [Using Git](#using-git)
* [Using Curl](#using-curl) * [Using Curl](#using-curl)
* [Using Wget](#using-wget) * [Using Wget](#using-wget)
* [Installation](#installation) * [How to install?](#how-to-install)
* [Contact](#contact) * [Contact](#contact)
* [License](#license) * [License](#license)
@ -25,7 +27,7 @@ Repository with my dotfiles.
* [Tor](https://www.torproject.org/) - [torrc](usr/etc/tor/torrc) * [Tor](https://www.torproject.org/) - [torrc](usr/etc/tor/torrc)
* [Vim](https://www.vim.org/) - [.vimrc](home/.vimrc) * [Vim](https://www.vim.org/) - [.vimrc](home/.vimrc)
## Downloading ## How to download?
### Using Git ### Using Git
@ -39,7 +41,7 @@ Repository with my dotfiles.
wget -O - https://codeberg.org/PandaCoderPL/dotfiles/archive/main.tar.gz | tar -xzf - wget -O - https://codeberg.org/PandaCoderPL/dotfiles/archive/main.tar.gz | tar -xzf -
## Installation ## How to install?
rsync -qa home/ ~/ rsync -qa home/ ~/

54
README.pl.md Normal file
View File

@ -0,0 +1,54 @@
[English](README.md)
# dotfiles
Repozytorium z moimi plikami konfiguracyjnymi.
## Contents
* [Pliki konfiguracyjne](#pliki-konfiguracyjne)
* [Jak pobrać?](#jak-pobrać)
* [Używając Git](#używając-git)
* [Używając Curl](#używając-curl)
* [Używając Wget](#używając-wget)
* [Jak zainstalować?](#jak-zainstalować)
* [Kontakt](#kontakt)
* [Licencja](#licencja)
## Pliki konfiguracyjne
* [Bash](http://www.gnu.org/software/bash/) - [
.bashrc](home/.bashrc)
* [Git](https://git-scm.com/) - [config](home/.config/git/config)
* [I2PD](https://i2pd.website/) - [i2pd.conf](home/.i2pd/i2pd.conf)
* [SSH](https://www.openssh.com/) - [config](home/.ssh/config)
* [Termux](https://termux.com/) - [termux.properties](home/.termux/termux.properties)
* [Tmux](https://github.com/tmux/tmux) - [.tmux.conf](home/.tmux.conf)
* [Tor](https://www.torproject.org/) - [torrc](usr/etc/tor/torrc)
* [Vim](https://www.vim.org/) - [.vimrc](home/.vimrc)
## Jak pobrać?
### Używając Git
git clone --depth=1 git://codeberg.org/PandaCoderPL/dotfiles.git
### Używając Curl
curl -L https://codeberg.org/PandaCoderPL/dotfiles/archive/main.tar.gz | tar -xzf -
### Używając Wget
wget -O - https://codeberg.org/PandaCoderPL/dotfiles/archive/main.tar.gz | tar -xzf -
## Jak zainstalować?
rsync -qa home/ ~/
## Kontakt
[Kontakt](https://codeberg.org/PandaCoderPL/PandaCoderPL#contact)
## Licencja
[MIT](LICENSE)

View File

@ -1 +1 @@
1.7.1 1.8.1

View File

@ -1,7 +1,7 @@
# Tmux # Tmux
if [[ -z "${TMUX}" ]]; then if [[ -z "${TMUX}" ]]; then
if ! tmux has-session; then if ! tmux has-session; then
eval $(ssh-agent) eval $(ssh-agent -st 1h)
tmux new-session -n calculator bc -iq tmux new-session -n calculator bc -iq
else else
tmux new-window tmux new-window
@ -26,3 +26,6 @@ alias lh='l --human-readable'
alias ll='lh -l' alias ll='lh -l'
alias la='ll --all' alias la='ll --all'
alias paste='termux-clipboard-paste' alias paste='termux-clipboard-paste'
alias pip='pip --proxy "socks5h://${RANDOM}:${RANDOM}@127.0.0.1:9050"'
source ~/.bashrc-secret

View File

@ -1,9 +1,10 @@
[alias] [alias]
a = add a = add
ae = a -e
ba = branch ba = branch
bach = "!f() { \ bach = "!f() { \
git ba \"$1\" && \ git ba \"$1\" \
git ch \"$1\"; \ && git ch \"$1\"; \
}; f" }; f"
bd = ba -d bd = ba -d
bfd = ba -D bfd = ba -D
@ -18,13 +19,13 @@
}; f" }; f"
cota = "!f() { \ cota = "!f() { \
local version=\"v$(cat VERSION)\"; \ local version=\"v$(cat VERSION)\"; \
git co \"$1\" && \ git co \"$1\" \
git ta \"${version}\"; \ && git ta \"${version}\"; \
}; f" }; f"
fu = "!f() { \ fu = "!f() { \
git fetch upstream && \ git fetch upstream \
git ch master && \ && git ch master \
git rebase upstream/master; \ && git rebase upstream/master; \
}; f" }; f"
fup = !git fu && git pat fup = !git fu && git pat
p = push p = push
@ -49,6 +50,7 @@
gpgSign = true gpgSign = true
[core] [core]
editor = vim editor = vim
gitProxy = git-proxy
pager = less pager = less
[include] [include]
path = ~/.config/git/config-secret path = ~/.config/git/config-secret
@ -56,6 +58,8 @@
defaultBranch = main defaultBranch = main
[http] [http]
proxy = socks5h://127.0.0.1:9050 proxy = socks5h://127.0.0.1:9050
[http "http://*.loki"]
proxy =
[tag] [tag]
forceSignAnnotated = true forceSignAnnotated = true
gpgSign = true gpgSign = true

View File

@ -1,3 +1,6 @@
Host *.loki
ProxyCommand nc %h %p
Host * Host *
AddKeysToAgent yes AddKeysToAgent yes
HashKnownHosts yes HashKnownHosts yes

1
usr/bin/git-proxy Executable file
View File

@ -0,0 +1 @@
nc -X 5 -x 127.0.0.1:9050 $1 $2