summaryrefslogtreecommitdiff
path: root/.zsh/zshrc/00_colours
blob: fe2f25bd30210255b5e14fcebfd702ef512272ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# zshrc/00_colours
#
# Set up colours
#
# Copyright © 2011 Tobias Klauser <tklauser@distanz.ch>
#
# Source repository: git://git.distanz.ch/dotfiles/zsh.git
#
# Based on the zsh setup by martin f. krafft which can be found at:
# git://git.madduck.net/etc/zsh.git

if autoload colors && colors 2>/dev/null ; then
  BLUE="%{${fg[blue]}%}"
  RED="%{${fg_bold[red]}%}"
  GREEN="%{${fg[green]}%}"
  CYAN="%{${fg[cyan]}%}"
  WHITE="%{${fg_bold[white]}%}"
  NO_COLOUR="%{${reset_color}%}"
else
  BLUE=$'%{\e[1;34m%}'
  RED=$'%{\e[1;31m%}'
  GREEN=$'%{\e[1;32m%}'
  CYAN=$'%{\e[1;36m%}'
  WHITE=$'%{\e[1;37m%}'
  NO_COLOUR=$'%{\e[0m%}'
fi

# vim:ft=zsh
l'>
authorTobias Klauser <tklauser@distanz.ch>2016-10-20 15:44:19 +0200
committerTobias Klauser <tklauser@distanz.ch>2017-02-15 10:34:18 +0100
commit5db4992d8f040b8d8db0b86d42806e0c417f7ccf (patch)
tree5b06e952af482d45f3ade64e77824662e34b7fa2 /Documentation/devicetree/bindings/interrupt-controller/sigma,smp8642-intc.txt
parent370ebb0ef6255132373ed35d13e7b1d8d2eb7003 (diff)
usbnet: pegasus: Use net_device_stats from struct net_devicends-private-remove
Instead of using a private copy of struct net_device_stats in struct pegasus, use stats from struct net_device. Also remove the now unnecessary .ndo_get_stats function. Cc: Petko Manolov <petkan@nucleusys.com> Cc: linux-usb@vger.kernel.org Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'Documentation/devicetree/bindings/interrupt-controller/sigma,smp8642-intc.txt')