mirror of
https://github.com/Mastermindzh/dotfiles.git
synced 2024-11-21 14:23:32 +01:00
userdirs and some more git commands
This commit is contained in:
parent
b155b31d55
commit
e6761990e2
@ -68,6 +68,12 @@ alias update-grub='grub-mkconfig -o /boot/grub/grub.cfg'
|
||||
|
||||
# git
|
||||
alias gitremovelocalbranches='git branch --merged | egrep -v "(^\*|master|dev)" | xargs git branch -d'
|
||||
alias untangle-line-endings='find ./ -type f -exec dos2unix {} \;'
|
||||
|
||||
# development
|
||||
alias chromecors='google-chrome-stable --disable-web-security --user-data-dir=".chrome-unsafe"'
|
||||
|
||||
|
||||
|
||||
## Functions
|
||||
|
||||
|
@ -8,3 +8,5 @@
|
||||
pushall = !git remote | xargs -L1 git push --all
|
||||
diffname = !git diff --name-only
|
||||
undocommit = reset --soft HEAD~1
|
||||
[core]
|
||||
autocrlf = input
|
||||
|
15
config/user-dirs.dirs
Normal file
15
config/user-dirs.dirs
Normal file
@ -0,0 +1,15 @@
|
||||
# This file is written by xdg-user-dirs-update
|
||||
# If you want to change or add directories, just edit the line you're
|
||||
# interested in. All local changes will be retained on the next run.
|
||||
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
|
||||
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
|
||||
# absolute path. No other format is supported.
|
||||
#
|
||||
XDG_DESKTOP_DIR="$HOME/Desktop"
|
||||
XDG_DOWNLOAD_DIR="$HOME/Downloads"
|
||||
XDG_PUBLICSHARE_DIR="$HOME/Public"
|
||||
XDG_DOCUMENTS_DIR="$HOME/Documents"
|
||||
XDG_MUSIC_DIR="$HOME/Music"
|
||||
XDG_PICTURES_DIR="$HOME/Pictures"
|
||||
XDG_VIDEOS_DIR="$HOME/Videos"
|
||||
XDG_TEMPLATES_DIR="$HOME/Templates"
|
2
dependencies/pacman.txt
vendored
2
dependencies/pacman.txt
vendored
@ -61,4 +61,4 @@ wavpack
|
||||
x264
|
||||
xvidcore
|
||||
gvfs-smb
|
||||
gnome-screenshot
|
||||
gnome-screenshot
|
||||
|
@ -96,6 +96,7 @@ function install_config {
|
||||
ln -sf "$PWD"/config/rofi ~/.config/rofi/config
|
||||
ln -sf "$PWD"/config/.gitconfig ~/.gitconfig
|
||||
ln -sf "$PWD"/config/.npmrc ~/.npmrc
|
||||
ln -sf "$PWD"/config/user-dirs.dirs ~/.config/user-dirs.dirs
|
||||
|
||||
# link system files
|
||||
sudo ln -sf "$PWD"/config/package-managers/pacman.conf /etc/pacman.conf
|
||||
|
Loading…
Reference in New Issue
Block a user