https://github.com/matan-h/.config
my dotfiles - cool aliases,plugins and settings that I use
https://github.com/matan-h/.config
command-line dotfiles dotfiles-linux linux manjaro-linux neovim neovim-dotfiles oh-my-zsh shell terminal xscreensaver zsh
Last synced: 3 months ago
JSON representation
my dotfiles - cool aliases,plugins and settings that I use
- Host: GitHub
- URL: https://github.com/matan-h/.config
- Owner: matan-h
- Created: 2022-07-07T11:42:26.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-07-21T08:18:49.000Z (almost 2 years ago)
- Last Synced: 2024-07-21T09:27:37.739Z (almost 2 years ago)
- Topics: command-line, dotfiles, dotfiles-linux, linux, manjaro-linux, neovim, neovim-dotfiles, oh-my-zsh, shell, terminal, xscreensaver, zsh
- Language: Shell
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: .github/README.md
Awesome Lists containing this project
README
# my dotfiles
dotfiles managed by [git](https://stackoverflow.com/a/64548852)
* [config.fish](/.config/fish/config.fish) - Simple fish startup file: helpful (and colorful) `fish_greeting`, source the `.aliases.fish` file [if exist], and bind some standard keybindings
* [.aliases.fish](/.aliases.fish) - fish functions (`alias`,`function` and `abbr`).
| alias | definitions |
| ---------------------- | -------------------------------------------------------------------------------- |
| `uvenv` | create a venv, activate it,then update pip wheel setuptool |
| `myip` | get the current local IP address |
| `gitp` | `git pull` |
| `lstime` | list files sorted by modification time (using `eza` if you have, or using `ls`.) |
| `clipcopy`,`clippaste` | copy/paste text to the clipboard (both wayland and x11) |
| `start`,`kstart` | start file in normal application (`kstart` uses kde command line) |
| `cls`,`ren`, `mkdirs` | allow you to type simple commands from windows |
and many more
All functions, is built in a way that you get only what you have (e.g. if you dont have python, you wouldnt get all the python aliases, etc.)
* [install.fish](/.dotfiles/install.fish) - a simple, short installer that install fisher, the fzf plugin and the tilde prompt.
## Installation
Clone the repo, remove the local changes, install fish and its dependencies, and reload the shell.
```bash
# clone the repo
git clone --bare https://github.com/matan-h/.config ~/.dotfiles/git
# restore the files (the local changes is set to deletion mode)
git --git-dir=~/.dotfiles/git --work-tree=$HOME reset --hard
# install fish dependencies
fish ~/.dotfiles/install.fish
# reload fish
exec fish
```